-
Notifications
You must be signed in to change notification settings - Fork 594
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
normalize_per_cell
raises numpy.core._exceptions.UFuncTypeError
#2500
Comments
normalize_per_cell
raises numpy.core._exceptions.UFuncTypeError: Cannot cast ufunc 'divide' output from dtype('float64') to dtype('int64') with casting rule 'same_kind'
normalize_per_cell
raises numpy.core._exceptions.UFuncTypeError
Workaround: adata.X = adata.X.astype(np.float64)
sc.pp.normalize_per_cell(adata, 1e6) |
I had the same thought and opened #2505 to track that! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minimal code sample (that we can copy&paste without having any data)
Versions
The text was updated successfully, but these errors were encountered: