Clean-up Morphology Loaders #1981
Labels
arbor IO
IO support in arborio
code quality
Feature Request
good 1st issue
help wanted
interface
Anything user-facing, including public C++ and Python APIs.
Currently we have three kinds of loader as categorised by their return value
<cell>
tags<morphologies>
This is neither conforming to the least surprise principle nor ergonomic. Thus
labelled_morphology
, but maybe a pair is fine as well); subsuming the external tagstags(these are currently parsed but discarded)<cell>
and<morphology>
can be unified (but still tagged by the origin),segment_tree
loadingnml
object should give back alabelled_morphology
cable_cell
should add a new constructor consuming alabelled_morphology
and adecor
Bonus: add convenience functionload_morphology
dispatching based on file suffixThe text was updated successfully, but these errors were encountered: