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.
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
.