-
Notifications
You must be signed in to change notification settings - Fork 150
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
could not convert integer scalar #339
Comments
Not sure. Could you follow up with these?
Also, does it work if you do: adata = adata.copy()
sc.pp.filter_cells(adata, min_genes=200) |
|
I have the same problem, but when I run adata = adata.copy() it shows the same problem: ...
~/anaconda2/envs/p7/lib/python3.7/site-packages/scipy-1.4.1-py3.7-macosx-10.9-x86_64.egg/scipy/sparse/compressed.py in _get_arrayXarray(self, row, col)
663 val = np.empty(major.size, dtype=self.dtype)
664 csr_sample_values(M, N, self.indptr, self.indices, self.data,
--> 665 major.size, major.ravel(), minor.ravel(), val)
666 if major.ndim == 1:
667 return asmatrix(val)
ValueError: could not convert integer scalar scanpy: 1.4.7.dev63+g0a6bf5ac |
Somehow the problem got solved when I updated these libraries. |
Thanks for letting us know! |
adata=adata[:,~mito_genes]
I was running
And got this error:
Any ideas?
The text was updated successfully, but these errors were encountered: