MorphIO
MorphIO copied to clipboard
A python and C++ library for reading and writing neuronal morphologies
@adrien-berchet noted that the following doesn't allow reading: ``` from morphio import Morphology morph = Morphology( """ 1 1 0 0 0 1. -1 2 3 0 0 0 1....
New SWC parser: * Parsing an SWC goes from 1.01ms to 0.700ms * Supports locales
Consider a morphology with an axon consisting of a single branch, but with 3 different SWC tags: 2 for axon, 6 for axon hillock, and 7 for axon initial segment....
Fixes #427
I'm trying to update `MorphIO` to the latest release in Fedora. Since we already have `ghc_filesystem` packaged as `gulrak-filesystem` (different name to avoid clashes with Haskell packages), I would like...
Some softwares (e.g. https://alleninstitute.org/what-we-do/brain-science/research/products-tools/vaa3d/) might create SWC files with less restrictive specs (e.g. a root ID that is not equal to -1, see https://github.com/Vaa3D/vaa3d_tools/issues/38). I guess this is also true...
Both `SWC+` and @Helveg use the `header` of an SWC file to store metadata. To simplify their use case, perhaps we should give access to comments via `annotations` for SWC...
In some cases, the function `sscanf` does not recognize dots as decimal points because of the `locale` settings of the user (french in my case, so `sscanf` expects commas as...