Skip to content
Snippets Groups Projects
  • Sam Yates's avatar
    Rewrite SWC reader code. (#1127) · 11a6ef6d
    Sam Yates authored
    * 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.
    Unverified
    11a6ef6d