What's Changed
Two large changes to the SWC reader; this may impact reading, hence the increase in minor version number:
-
Efficient swc build (#476)
- handles
locale
correctly, so decimal numbers using comma are allowed - ~800 line SWC parse time goes from 0.976 to 0.699
- Doesn't create changes to bifurcations at the root nodes of SWC files
- More strict Neuromorpho 3 point soma checks disallow repeated Sample IDs
- Follow https://swc-specification.readthedocs.io/en/latest/swc.html more closely
- Allow only positive integer Sample IDs
- Allow for the type of neurite to change at bifurcation points
- Allow Window style
End of Lines
- allow trailing spaces on sample line
- handles
-
Section change (#510)
- A section within MorphIO is defined as a series of segments between
bifurcation/multifurcation points. However, SWC files allow section
change without a branch. Normal parsing of this will raise an
exception, but can be allowed using the optionUNIFURCATED_SECTION_CHANGE
- Create a warning if the section type changes without a bifurcation
- Add option to allow for sections changes in SWC files without bifurcation
- A section within MorphIO is defined as a series of segments between
Full Changelog: v3.3.10...v3.4.0