Skip to content

Unsupported section type: 0 when reading in file #14

@IanQS

Description

@IanQS

Say I have an SWC file with the following two lines:

1 1 595156.06 205099.5 22046.521 3197 -1
2 0 454329.12 244148.88 118028.86 108 367

when I try to load it via:

import morphio
morph = morphio.Morphology("some_test.swc").as_mutable()

I receive

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
morphio._morphio.RawDataError:
some_test.swc:2:error
```

Looking at the specification docs

Description of how MorphIO sees morphologies. MorphIO supports .asc (Neurolucida), .h5 (H5 version 1) and .swc extensions

It seems like your library and the library that generated the SWC follow the neuronland convention, where "0 - undefined"?

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