navis-org / skeletor

Extraction of 3D skeletons from meshes.
https://navis-org.github.io/skeletor/
GNU General Public License v3.0
209 stars 26 forks source link

TypeError: 'path' is an invalid keyword argument for this function #32

Closed emircetinmemis closed 2 years ago

emircetinmemis commented 2 years ago

Upon using teasar skeletonization on Python 3.9.6, one faces the following error:


In [11]: eids = SG.get_eids(path=path, directed=False)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In [11], line 1
----> 1 eids = SG.get_eids(path=path, directed=False)

TypeError: 'path' is an invalid keyword argument for this function

Any workaround one may know, apart from upgrading the Python version?

schlegelp commented 2 years ago

This is likely a problem with igraph not your Python version. Could you please check what version of igraph you have?

>>> import igraph as ig
>>> ig.__version__
'0.10.1'
schlegelp commented 2 years ago

Actually I encountered another unrelated issue with graph 0.10.1 - I'd recommend using 0.9.11 for now.

emircetinmemis commented 2 years ago

Hi,

My version was 0.10.1 as you said, I have updated it by 0.9.11 as you said and it worked. Thank you for your help.