Skip to content

Division by zero warning during sum_norm #46

@georgyFenix

Description

@georgyFenix

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions