Check trailing data in SWC (#1218)
* Remove blank line from `ball_and_stick.swc` * Mention that blank lines in SWC files indicate end of data. * Check for trailing data after parsing in the python interface. * Leave stream in good state if `parse_swc` encounters an empty line indicating end of data.
Showing
- arborio/swcio.cpp 1 addition, 1 deletionarborio/swcio.cpp
- doc/concepts/morphology.rst 5 additions, 4 deletionsdoc/concepts/morphology.rst
- python/morphology.cpp 16 additions, 3 deletionspython/morphology.cpp
- test/unit/swc/ball_and_stick.swc 0 additions, 1 deletiontest/unit/swc/ball_and_stick.swc
- test/unit/test_swcio.cpp 69 additions, 0 deletionstest/unit/test_swcio.cpp
Please register or sign in to comment