NeuroML / jNeuroML

A single package (command line tool and library) in Java to validate, simulate, translate and analyse NeuroML 2 models
https://docs.neuroml.org/Userdocs/Software/jNeuroML.html
GNU Lesser General Public License v3.0
9 stars 20 forks source link

ContentError: No runnable components have been specified #91

Closed Aman123lug closed 1 year ago

Aman123lug commented 1 year ago

Describe the bug When i try to run this ./jnml LEMS_lorenz.xml i am getting this error in my other pc also

To Reproduce .ContentError: No runnable components have been specified

Expected behavior I am trying to simulate LEMS model Also Downloading ZIP from release found Virus my Browser stop the downloading don't know why

Observed behavior WhatsApp Image 2023-03-29 at 17 46 38

System information:

sanjayankur31 commented 1 year ago

Hi @Aman123lug , thanks for the report. This isn't a jlems error. The LEMS file you are trying to simulate does not have any runnable components in it (as the error says). This implies that no simulation has been defined in the LEMS file, it's only a model. Can you please check the LEMS file?

If this is the example from the docs, that does not have a runnable component---it only defines a new component type. So if you want to simulate that, you need to add the Simulation element. Please see this example:

https://github.com/LEMS/LEMS/blob/master/examples/example1.xml#L264