Skip to content

Commit

Permalink
update some error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tanliwei-coder committed Dec 3, 2024
1 parent c230d6f commit 9a7806a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stereo/algorithm/_louvain.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def louvain(
except ImportError:
raise ImportError(
"Your env don't have GPU related RAPIDS packages, if you want to run this option, follow the "
"guide at https://stereopy.readthedocs.io/en/latest/Tutorials/clustering_by_gpu.html")
"guide at https://stereopy.readthedocs.io/en/latest/Tutorials/Clustering_by_GPU.html")

offsets = cudf.Series(adjacency.indptr)
indices = cudf.Series(adjacency.indices)
Expand Down
2 changes: 1 addition & 1 deletion stereo/algorithm/neighbors.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def compute_neighbors_rapids(
from cuml.neighbors.nearest_neighbors import NearestNeighbors
except ImportError:
raise ImportError("Your env don't have GPU related RAPIDS packages, if you want to run this option, follow the "
"guide at https://stereopy.readthedocs.io/en/latest/Tutorials/clustering_by_gpu.html")
"guide at https://stereopy.readthedocs.io/en/latest/Tutorials/Clustering_by_GPU.html")

nn = NearestNeighbors(n_neighbors=n_neighbors, metric=metric)
X_contiguous = np.ascontiguousarray(X, dtype=np.float32)
Expand Down
2 changes: 1 addition & 1 deletion stereo/algorithm/single_r/single_r.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def check_gpu_env():
except ImportError:
raise ImportError(
"Your env don't have GPU related RAPIDS packages, if you want to run this option, follow the "
"guide at https://stereopy.readthedocs.io/en/latest/Tutorials/clustering_by_gpu.html")
"guide at https://stereopy.readthedocs.io/en/latest/Tutorials/Clustering_by_GPU.html")

@staticmethod
def load_cell_types(ref_exp_data, ref_use_col):
Expand Down

0 comments on commit 9a7806a

Please sign in to comment.