openworm / org.geppetto

Geppetto is an open-source platform to build web-based applications to visualize and simulate neuroscience data and models.
http://geppetto.org
Other
209 stars 50 forks source link

Subentities don't have a ModelInterpreter #271

Closed adrianq closed 9 years ago

adrianq commented 9 years ago

I guess the problem is that CreateRunTimeTreeVisitor sets the model interpreter for the aspect which hangs from the main entity and then populate the Run Time Tree without setting the model interpreter for them.

Due to this when getModelTree is called in any subentity and exception is thrown

jrmartin commented 9 years ago

What sample were you using? I created this one where the subentities load fine ttps://github.com/openworm/org.geppetto.samples/blob/development/NeuroML/Purkinje/PurkinjeDuo.xml. I'm wondering if it could be a syntax issue in the simulation file.

tarelli commented 9 years ago

@jrmartin those subentities are defined in the Geppetto file, the ones @adrianq is talking about are the ones I extracted from NeuroML for which there's not a Model Interpreter. I don't think there should be another instance of the model interpreter in them, rather I should set the same one available for the parent entity.

jrmartin commented 9 years ago

@tarelli Ah, got it