Closed sanjayankur31 closed 10 months ago
A simple test in the pyneuroml/examples directory:
python -c 'from pyneuroml.nsgr import run_on_nsg ; run_on_nsg("jneuroml_neuron", "LEMS_NML2_Ex5_DetCell.xml")'
fails because the output is expected in a results
directory, but the simulation does run.
TODO: tweak netpyne run
This is now ready for review. It doesn't rely on newly generated files. It creates a new directory and does all its work there, so it should not be affected by any old files at all.
To test netpyne, in the examples
folder, run (replace engine with jneuroml_neuron
for neuron:
python -c 'from pyneuroml.nsgr import run_on_nsg ; run_on_nsg("jneuroml_netpyne", "LEMS_NML2_Ex5_DetCell.xml")'
Note that netpyne on nsgr is too old from the looks of it: https://github.com/NeuroML/NeuroML2/issues/213
For the moment, I used the HH example from docs to test it out. It was submitted and ran fine but threw up this error that I now need to debug:
Can reproduce on my local machine too, will debug and see what's causing it.
TODO for this PR: add a test