Skip to content
Snippets Groups Projects
Unverified Commit 11a6ef6d authored by Sam Yates's avatar Sam Yates Committed by GitHub
Browse files

Rewrite SWC reader code. (#1127)

* Simplify scanning of SWC records.
* `parse_swc` now retains metadata read from SWC comments.
* `parse_swc` is given two modes, relaxed and strict. Strict mode enforces contiguous record numbering and rejects SWC that looks like it has a single-point soma.
* Subtype `swc_error` according to error mode.
* Remove `point` class and corresponding unit tests.
* Add a RAII stream formatting flag saver, used in SWC record output operator.
* Replace included 1-point soma SWC example with a regular SWC from NeuroMorpho.
parent 70e3c902
No related branches found
No related tags found
Showing
with 6150 additions and 2510 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment