-
Notifications
You must be signed in to change notification settings - Fork 23
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
ZeroDivisionError: float division by zero #220
Comments
I've run into the same error when running de.test.versus_rest. Iterations near end and then generates the same above error. |
The same error, hoping an answer. |
The same error, any clue? |
|
I had exactly the same. |
Same here. |
It's weird because the same code works on Collab but not on my computer. Collab: https://colab.research.google.com/drive/1FUZXHNCXtqWlip0jQN1Z9QBJ7JBO5qIR?usp=sharing
It works on Google Collab, but not on my MacOS. When I run it on Google Collab, it also gives me an error (below), but that doesn't stop the execution of my code. And therefore, test is defined, as well as summaryTest. However, when I run this exact same code on my Mac machine, this happens (below). An exception is thrown and the whole program stops (leaving test undefined, thus leaving also summaryTest undefined). Error on Google Collab (last line)Error on my MacThe only way this works on my Mac is if I ran this line of code before the wald test:
|
Hi, I have been facing the same problem. Did someone find a solution ? |
Hello, same problem here as well. |
Hello, |
Hi, I have the same error, any solution so far? anndata 0.9.1 |
Hi @DieTANG, Did you try to downgrade dask ? dask==2021.4.0 worked for me. |
i have the same issue here, near convergence it give this error, anyone managed? |
Hi,
I have been getting this error: ZeroDivisionError: float division by zero
when trying to run the following code:
de.test.wald( data=adata_human, gene_names=adata_human.var_names, formula_loc="~ 1 + palantir_pseudotime_int", factor_loc_totest="palantir_pseudotime_int", as_numeric=["palantir_pseudotime_int"] )
Here is the complete error log: zero_division_error.pdf
I am getting the same error even when I use a discrete variable instead of a continuous one and when I use sample single-cell data from the Scanpy datasets (scanpy.datasets.ebi_expression_atlas(accession = "E-GEOD-98816"))
`
Current Versions:
Could you please look into this? Thanks for your help
The text was updated successfully, but these errors were encountered: