Closed mattearnshaw closed 6 years ago
added casper test to cover this https://github.com/openworm/org.geppetto.frontend/pull/629
@tarelli the travis config on this repo seems faulty – it's trying to checkout get-state-fix
(the branch of this PR) from org.geppetto.model and org.geppetto.core, where it doesn't exist. not confident enough with travis stuff to fix this myself…
@tarelli I have pushed the solution we discussed yesterday, seems to work fine. I don't think it's necessary to save the ExperimentState
objects – are they even stored at all? because before there was no problem if you reloaded after persisting, which suggests the ExperimentState
objects are regenerated from something else, or at least that their experimentId
and projectId
fields are not stored.
fixes "plot all recorded variables" issue (https://github.com/OpenSourceBrain/geppetto-osb/issues/37) (cause = uninitialized experiment and project IDs returned, so frontend treats it as if variables for an external project were request)
to replicate issue:
http://0.0.0.0:3000/projects/mainenetalpyramidalcell/models?explorer=https%253A%252F%252Fraw.githubusercontent.com%252FOpenSourceBrain%252FMainenEtAl_PyramidalCell%252Fmaster%252FneuroConstruct%252FgeneratedNeuroML2%252FOneComp.net.nml
persist
run -> record all at soma
plot all recorded variables
spinner activated/stops spinning but plot remains blank