Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Unsupported section type: 0Β #1110

@davidfoub

Description

@davidfoub

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions