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

Unsupported section type: 0 #1110

Open
superwhat1 opened this issue Mar 29, 2024 · 1 comment
Open

Unsupported section type: 0 #1110

superwhat1 opened this issue Mar 29, 2024 · 1 comment

Comments

@superwhat1
Copy link

When I attempt to open a swc file from neuromorpho.org with the NEURON standard.
this is what the file looks like.
image

import neurom as nm

m = nm.load_morphology("C:\Users\David\Documents\NeuroComp\project\Soma_in_tectum_653519\3_mod_T_160621_F2M2_loom_02.swc")

Traceback (most recent call last):

File ~\anaconda3\envs\neurom\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)

File c:\users\david\documents\neurocomp\project\morphology_function_clustering_project.py:10
m = nm.load_morphology("C:\Users\David\Documents\NeuroComp\project\Soma_in_tectum_653519\3_mod_T_160621_F2M2_loom_02.swc")

File ~\anaconda3\envs\neurom\lib\site-packages\neurom\io\utils.py:165 in load_morphology
return Morphology(morph, Path(morph).name)

File ~\anaconda3\envs\neurom\lib\site-packages\neurom\core\morphology.py:435 in init
super().init(filename)

RawDataError:
C:\Users\David\Documents\NeuroComp\project\Soma_in_tectum_653519\3_mod_T_160621_F2M2_loom_02.swc:2:error
Unsupported section type: 0

@eleftherioszisis
Copy link
Collaborator

To reproduce the error, could you please attach or provide a link to the morphology? Thanks.

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

2 participants