-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Question from @apdavison:
This model: https://neuroml-db.org/model_info?model_id=NMLCL000641 has adjacent segments with the same x, y, z, diameter coordinates (ids 1036 and 1037), which gives a segment of length zero.
Is this allowed in NeuroML (i.e. should the software handle it?) or does this make the file invalid?
Personally I can't see a reason why it should be invalid; there are a lot of SWC reconstructions which have adjacent points, which would get converted to zero length segments. This shouldn't be an issue for most visualisation applications, so no need for them to say that they can't visualise the cell if they see it's invalid.
The jnml -validate option could throw a warning when it sees these segments, but currently doesn't (it could be added here).
For individual simulators, they could have an issue with this, if they map each segment to a compartment (as Moose might), but for Neuron using cables/sections with multiple segments, it shouldn't matter as long as the section doesn't just have one segment.
So ideally it should be the application which loads the NML in (or the conversion/export code) which decides whether this is an issue.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status