The execution sequence of the plugins and steppables
5 weeks ago by
4 weeks ago by
which means that barPlotSteppable will be executer AFTER histPlotSteppable because it was added to steppebleRegistry later in the code.
from scientificHistBarPlotsSteppables import HistPlotSteppable histPlotSteppable=HistPlotSteppable(_simulator=sim,_frequency=1) steppableRegistry.registerSteppable(histPlotSteppable) from scientificHistBarPlotsSteppables import BarPlotSteppable barPlotSteppable=BarPlotSteppable(_simulator=sim,_frequency=1) steppableRegistry.registerSteppable(barPlotSteppable) CompuCellSetup.mainLoop(sim,simthread,steppableRegistry)
And Yes, in certain situations the order of steppables may impact your results so you need to keep an eye on that
Please login to add an answer/comment or follow this question.