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

Division by zero warning during sum_norm #46

Open
georgyFenix opened this issue Jul 22, 2024 · 0 comments
Open

Division by zero warning during sum_norm #46

georgyFenix opened this issue Jul 22, 2024 · 0 comments

Comments

@georgyFenix
Copy link

Hello!
During preprocessing of example data schisto2.5 I've encountered division bu zero warning.
The warning occurs regardless of OS or python 3 version.
'''
C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\samalg_init_.py:225: RuntimeWarning: divide by zero encountered in divide
D = D.multiply(1 / s[:, None] * sum_norm).tocsr()
'''
Have you encountered it during testing or have any idea what could cause it?

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

1 participant