NeuroML / NeuroML2

This repository hosts the NeuroML 2 Schema, the ComponentType definitions in LEMS and the core documentation of NeuroML2.
https://docs.neuroml.org
GNU Lesser General Public License v3.0
50 stars 24 forks source link

NSGR: version of netpyne is too old for NeuroML #213

Closed sanjayankur31 closed 9 months ago

sanjayankur31 commented 1 year ago

I sent a job that uses NetPyNE and got this error:

Traceback (most recent call last):
  File "LEMS_NML2_Ex5_DetCell_netpyne.py", line 236, in <module>
    ns.run()
  File "LEMS_NML2_Ex5_DetCell_netpyne.py", line 131, in run
    self.gids = sim.importNeuroML2SimulateAnalyze(self.nml2_file_name,self.simConfig)
  File "/usr/local/lib/python3.8/site-packages/netpyne/sim/wrappers.py", line 567, in importNeuroML2SimulateAnalyze
    return sim.importNeuroML2(fileName, simConfig, simulate=True, analyze=True)
AttributeError: module 'netpyne.sim' has no attribute 'importNeuroML2'
srun: error: exp-6-25: task 0: Exited with exit code 1

So, looks like the version of NetPyNE is too old on NSGR with the PY_EXPANSE environment.

(wasn't sure where to open this).