Skip to content

Commit

Permalink
small fix (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Intron7 committed Aug 14, 2023
1 parent e08670f commit 82079b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rapids_singlecell/cunnData_funcs/_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,6 @@ def filter_highly_variable(cudata: cunnData) -> None:
"""
if "highly_variable" in cudata.var.keys():
thr = np.where(cudata.var["highly_variable"] is True)[0]
cudata._inplace_subset_var(thr)
cudata._inplace_subset_var(cudata.var["highly_variable"])
else:
print("Please calculate highly variable genes first")

0 comments on commit 82079b7

Please sign in to comment.