We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to call the SimplicialComplex.incidence_matrix (rank 2) on the shrec dataset using the code below
SimplicialComplex.incidence_matrix
import toponetx.datasets as datasets shrec, _ = datasets.mesh.shrec_16(size="small") simplexes = shrec["complexes"] print(simplexes[0].incidence_matrix(rank=2))
I get the following error (KeyError)
File "/snap/pycharm-professional/336/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "/home/kha053/PycharmProjects/TopoNetX/tutorials/test.py", line 19, in <module> print(simplexes[0].incidence_matrix(rank=2)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kha053/PycharmProjects/TopoNetX/toponetx/classes/simplicial_complex.py", line 783, in incidence_matrix idx_faces.append(simplex_dict_d_minus_1[tuple(face)]) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: (89, 81)
Similar errors are shown for SimplicialComplex.up_laplacian_matrix and SimplicialComplex.down_laplacian_matrix.
SimplicialComplex.up_laplacian_matrix
SimplicialComplex.down_laplacian_matrix
The text was updated successfully, but these errors were encountered:
I think this is a duplicate of #154 and should be fixed when #155 is merged.
Sorry, something went wrong.
@abdelwahed this has been addressed now. Please pull the new version.
Thanks @mhajij
No branches or pull requests
I tried to call the
SimplicialComplex.incidence_matrix
(rank 2) on the shrec dataset using the code belowI get the following error (KeyError)
Similar errors are shown for
SimplicialComplex.up_laplacian_matrix
andSimplicialComplex.down_laplacian_matrix
.The text was updated successfully, but these errors were encountered: