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
36 stars 30 forks source link

Move mod2nml script to neuron utilities #193

Closed sanjayankur31 closed 1 year ago

sanjayankur31 commented 1 year ago

WIP: need to add some tests

sanjayankur31 commented 1 year ago

@shayan823: since you've worked with this one quite a bit---how does this look? It just includes it into the pyneuroml.neuron module basically, doesn't change the logic at all.

@pgleeson : should be ready to merge already---didn't change the logic of the functions at all.

sanjayankur31 commented 1 year ago

Docs will look like this:

https://pyneuroml--193.org.readthedocs.build/en/193/pyneuroml.neuron.html#pyneuroml.neuron.export_mod_to_neuroml2

sanjayankur31 commented 1 year ago

We can include this in the release too @pgleeson : doesn't modify any older code, just refactors it to include the mod2nml function in the pyneuroml.neuron sub module

pgleeson commented 1 year ago

Sure, thanks!