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

[Bug] Length of time courses is not configured consistently with Brian2 and NetPyNe #136

Closed jonrkarr closed 2 years ago

jonrkarr commented 2 years ago

Describe the bug Time courses with Brian2 and NetPyNe are shorter by one element than time courses simulated with jNeuroML or NEURON.

To Reproduce Execute the same simulation with run_lems_with_jneuroml and run_lems_with_jneuroml_brian2

Expected behavior Consistently sized results

Observed behavior Differently sized results

System information:

jonrkarr commented 2 years ago

Solution for NetPyNe and Brian2 is to use LEMS files with length higher by one additional step

@length <-- @length + @steps