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

data contains an edge filtration that contradicts the vertex filtration #84

Open
marco-campos opened this issue Jul 5, 2024 · 0 comments

Comments

@marco-campos
Copy link

Description

Can't load in a big adjacency matrix because I get a weird error saying the edge filtration contradicts the vertex filtration.

Steps/Code to Reproduce

aa_adj is a massive numpy adjacency matrix and I'm just trying to pass it through the flagser function.

result = pyflagser.flagser_weighted(aa_adj)

Expected Results

The results object with the diagrams.

Actual Results

RuntimeError: The data contains an edge filtration that contradicts the vertex filtration, the edge (0.000000, 58.000000) has filtration value 0.000000, which is lower than min(0.000000, 1.000000), the filtrations of its edges.

Versions

Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.31
Python 3.9.19 (main, May 6 2024, 19:43:03)
[GCC 11.2.0]
pyflagser 0.4.7

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