OpenSourceBrain / AllenInstituteNeuroML

Example files to test interaction between models developed at the Allen Brain Institute and NeuroML
http://www.opensourcebrain.org/projects/alleninstituteneuroml
Other
16 stars 10 forks source link

GLIF cells #37

Closed anujanegi closed 2 years ago

anujanegi commented 2 years ago

Things done:

The neuron files downloaded from Allen, also have a different format now. So, the parsing needs to be adapted and updated quite a bit according to this. Do you recommend I use OpenCortext for this, or shift to NeuroMLlte?

@pgleeson @sanjayankur31

pgleeson commented 2 years ago

Thanks @anujanegi. Yes, NeuroMLlite is probably the way to go.

Was it not possible to choose the same model ids as present in https://github.com/OpenSourceBrain/AllenInstituteNeuroML/tree/master/CellTypesDatabase/models/GLIF to download?

anujanegi commented 2 years ago

Updates and problems:

Unsure how to proceed, as I don't understand the error, the file does exist.

pyNeuroML >>> INFO - Executing: (java -Xmx400M  -jar  "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pyneuroml/lib/jNeuroML-0.12.0-jar-with-dependencies.jar" -validate ".//GLIF_566291893.net.nml" ) in directory: .
pyNeuroML >>> INFO - Command completed. Output: 
  jNeuroML >>   jNeuroML v0.12.0
  jNeuroML >>  Validating: /home/runner/work/AllenInstituteNeuroML/AllenInstituteNeuroML/CellTypesDatabase/models/GLIF/566291893/./GLIF_566291893.net.nml
  jNeuroML >>  Valid against schema and all tests
  jNeuroML >>  No warnings
  jNeuroML >>  
  jNeuroML >>  Validated 1 files: All valid and no warnings
  jNeuroML >>  
  jNeuroML >>  
pyNeuroML >>> INFO - Loading NeuroML2 file: GLIF_566291893.net.nml
pyNeuroML >>> INFO - Including included files (included already: [])
pyNeuroML >>> INFO - Loading NeuroML2 file: GLIF_566291893.net.nml
pyNeuroML >>> INFO - Loading LEMS file: ('./LEMS_GLIF_566291893.xml', <pyneuroml.lems.LEMSSimulation.LEMSSimulation object at 0x7f493dc98370>) and running with jNeuroML
pyNeuroML >>> INFO - Executing: (java -Xmx400M  -Djava.awt.headless=true -jar  "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pyneuroml/lib/jNeuroML-0.12.0-jar-with-dependencies.jar"  "('./LEMS_GLIF_566291893.xml', <pyneuroml.lems.LEMSSimulation.LEMSSimulation object at 0x7f493dc98370>)"  -nogui -I '') in directory: .
pyNeuroML >>> CRITICAL - *** Problem running command: 
1 Leaky Integrate and Fire (LIF)_Sst-IRES-Cre;Ai14-165865.03.01.01
       Command 'java -Xmx400M  -Djava.awt.headless=true -jar  "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pyneuroml/lib/jNeuroML-0.12.0-jar-with-dependencies.jar"  "('./LEMS_GLIF_566291893.xml', <pyneuroml.lems.LEMSSimulation.LEMSSimulation object at 0x7f493dc98370>)"  -nogui -I ''' returned non-zero exit status 1.
<Lems>
pyNeuroML >>> CRITICAL -  jNeuroML >>   jNeuroML v0.12.0

 jNeuroML >>  File does not exist: ('./LEMS_GLIF_566291893.xml', <pyneuroml.lems.LEMSSimulation.LEMSSimulation object at 0x7f493dc98370>)

Am I missing something obvious here? @pgleeson

pgleeson commented 2 years ago

Looks good!