-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'Series' object has no attribute 'nonzero' in sc.tl.filter_rank_genes_groups #3443
Comments
Hi, can you please make this reproducible? If I run sc.tl.filter_rank_genes_groups(adata, ...) I get: Please give us the code to create |
I am following this tutorial "https://www.sc-best-practices.org/cellular_structure/annotation.html#" at part #14.4.2. the data was downloaded from "https://figshare.com/ndownloader/files/41436666" |
I had the same problem recently testing the example from import scanpy as sc
adata = sc.datasets.pbmc68k_reduced()
sc.tl.rank_genes_groups(adata, 'bulk_labels', method='wilcoxon')
sc.tl.filter_rank_genes_groups(adata, min_fold_change=3)
...
AttributeError: 'Series' object has no attribute 'nonzero' and was only able to resolve it by rolling back to scipy 1.14.1 from 1.15.1. |
@pcahan1 I can’t reproduce that with If you can still reproduce it with that version, please give me the output of |
|
Please make sure these conditions are met
What happened?
I get this error when running sc.tl.filter_rank_genes_groups
Minimal code sample
Error output
Versions
The text was updated successfully, but these errors were encountered: