Closed jilkoval closed 7 years ago
this is not (necessiraly) an error; if you remove the commit_ statements the state will be handled by the code and everything works (they should not be necessary). if you do call a commit_particles then there is an implicit commit_parameters and the following call should be a recommit_parameters. you can check the call seq. by putting at the start of your script:
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("code").setLevel(logging.DEBUG)
Ah, I see. Indeed, it works just fine after removing commit statements or with calling only one (after all parameters and particles are set).
Thanks for the clarification!
A minimal example:
with an error message
Exception: While calling commit_parameters of Mercury: No transition from current state state 'CHANGE_PARAMETERS_RUN' to state 'INITIALIZED' possible
.