Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (3 sloc) 238 Bytes
from pyneuroml.neuron import export_to_neuroml2
export_to_neuroml2("test.hoc", "test.morphonly.cell.nml", includeBiophysicalProperties=False)
export_to_neuroml2("test.hoc", "test.biophys.cell.nml", includeBiophysicalProperties=True)