openworm / muscle_model

Model of C elegans body wall muscle based on Boyle & Cohen 2008
http://www.opensourcebrain.org/projects/muscle_model
Other
47 stars 24 forks source link

Error when trying to use LEMS_Figure2B.xml with jNeuroML #5

Closed rayner closed 10 years ago

rayner commented 10 years ago

When I try to run the following command, I get an error about a missing "simpleSeriesResistance" parameter for a voltage clamp component. I'm not sure where this is defined or where to add this - any chance you could advise?

The command and output are:

$ jnml LEMS_Figure2B.xml jNeuroML v0.5.1 Loading: /home/rayner/muscle_model/NeuroML2/LEMS_Figure2B.xml with jLEMS... org.lemsml.jlems.core.sim.ContentError: no value supplied for parameter: simpleSeriesResistance in Component(id=vClamp1 type=voltageClamp) Defined attributes: delay=5ms, duration=20ms, targetVoltage=-60mV, seriesResistance=1ohm, at org.lemsml.jlems.core.type.Component.resolve(Component.java:371) at org.lemsml.jlems.core.type.Component.resolve(Component.java:217) at org.lemsml.jlems.core.type.Component.checkResolve(Component.java:194) at org.lemsml.jlems.core.type.Lems.resolve(Lems.java:154) at org.lemsml.jlems.core.sim.LemsProcess.readModel(LemsProcess.java:82) at org.neuroml.export.Utils.readLemsNeuroMLFile(Utils.java:177) at org.neuroml.export.Utils.loadLemsFile(Utils.java:289) at org.neuroml.export.Utils.runLemsFile(Utils.java:284) at org.neuroml.JNeuroML.main(JNeuroML.java:204) INFO Jun 19,2014 18:40 (INFO) Reading from: /home/rayner/muscle_model/NeuroML2/LEMS_Figure2B.xml

Thanks for any help you can give!

slarson commented 10 years ago

cc @pgleeson

rayner commented 10 years ago

Oops, looks like you've already fixed this. I just checked out the latest version and it's working now. Sorry!

pgleeson commented 10 years ago

Yes, most of the latest functionality requires the development version. There should be a stable beta3 release of NeuroML in the next month, but for now it's best to regularly update jNeuroML, either with 'svn update' for the binary version or 'python getNeuroML.py' for the source install. https://github.com/NeuroML/jNeuroML/blob/master/README.md