Closed melancholy12 closed 1 year ago
This error means that your swc file contains disconnected neurites, that is, some neurites are not connected to any other neurites or soma. You need to fix that before using MorphoPy.
I think there is nothing wrong when I used the Neurolucida for reconstruction. Can I solve this issue by using python packages? Just remove the disconnected nodes or neurites?
MophoPy doesn't handle this use case right now. But I can have a look if you provide some example data.
Could I send you from an email? (Thanks for your time for helping)
you can send it to the email address on my Github Profile.
File D:\Python\Python310\lib\site-packages\morphopy\computation\file_manager.py:40, in check_neurontree(neurontree) 38 raise ValueError('Graph has no root defined!') 39 if not neurontree.is_connected(): ---> 40 raise ValueError('Graph has disconnected nodes!')
ValueError: Graph has disconnected nodes!