Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
emdann authored Oct 26, 2023
1 parent 334dc96 commit 7443eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion milopy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def make_nhoods(
# Get reduced dim
if use_rep == 'X':
X_dimred = adata.X
if scipy.sparse.issparse(X_dimred)
if scipy.sparse.issparse(X_dimred):
X_dimred = X_dimred.A
else:
X_dimred = adata.obsm[use_rep]
Expand Down

0 comments on commit 7443eb6

Please sign in to comment.