Skip to content
Snippets Groups Projects
  1. Jul 12, 2016
  2. Jul 08, 2016
  3. Jul 07, 2016
  4. Jul 06, 2016
  5. Jul 05, 2016
  6. Jul 04, 2016
  7. Jul 03, 2016
    • Ben Cumming's avatar
      Merge pull request #39 from eth-cscs/feature/swc-parser-whitespace · 36e87c02
      Ben Cumming authored
      Feature/swc parser whitespace
      36e87c02
    • Vasileios Karakasis's avatar
      Treat whitespace lines in SWC file parser. · 6bd1b2db
      Vasileios Karakasis authored
      Whitespace-only lines are now treated correctly in SWC file parser. This
      automatically leads to a consistent and nice handling of old mac-style
      eol; they are just another whitespace (not newline).
      
      Refined the test cases a bit.
      
      Added support for mapping swc record types to nest::mc::segmentKind.
      This required the adjustment in some tests + the ball_and_stick file, since
      the dendrite type of swc record is type '3'. Before, everything except
      soma was added (hardcoded) as a dendrite. An swc_parse_error will be
      thrown in case of an impossible mapping. Also, no check is performed for
      inconsistencies of SWC record types along a branch; the type of the
      branch is assumed to be the type of the first record (compartment) in
      the branch.
      
      Finally, adapted to the coding style.
      6bd1b2db