NeuroML / pyNeuroML

A single package in Python unifying scripts and modules for reading, writing, simulating and analysing NeuroML2/LEMS models.
https://docs.neuroml.org/Userdocs/Software/pyNeuroML.html
GNU Lesser General Public License v3.0
34 stars 30 forks source link

mview_neuroml2.hoc docs not create default soma, dendrite, axonal groups #204

Closed sanjayankur31 closed 1 year ago

sanjayankur31 commented 1 year ago

Should it also create these, or is the user expected to add them later after the initial export?

pgleeson commented 1 year ago

Hmm, these are by no means compulsory, so it would be a bit strange to add them and leave them empty. Also automatically filling them could be problematic, sections named dend123 would be fine but you'd have to catch all the apical, basal, oblique, tuft naming possibilities too. Best to just export what's known to be present inside Neuron and leave the user to add extra info.

sanjayankur31 commented 1 year ago

Sounds good. Maybe we print a user message that sort of provides a report of the conversion, just using "cell.morphinfo()" so they know how many segment groups and segments were created?