Skip to content
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

RuntimeWarning: divide by zero encountered in true_divide dists = dists ** 2/(scaling_factors.values[rows] ** 2) #20

Open
fangfang0906 opened this issue Mar 8, 2022 · 1 comment

Comments

@fangfang0906
Copy link

Dear authors,

Thanks for developing harmony! It's really cool! I got this warning "RuntimeWarning: divide by zero encountered in true_divide " when following standard pipeline and the embedding looks a little weird.
Screen Shot 2022-03-07 at 8 28 38 PM
Do you have any idea what's the possible reasons?

@ManuSetty
Copy link
Member

Thank you for interest in Harmony. A could of questions:

  1. Do you encounter this issue with the example dataset too?
  2. Do you have any cells with 0 counts for all genes in our dataset?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants