Mange runs (mostly of stochastic simulations)
- Register a world, functions to be called on each timestep, and functions that perform logging
import runman
counter = []
def step(timestep):
counter.append(timestep)
def log():
print(counter[-1])
return counter[-1]
run = runman.Run(assets=[counter, ],
stepfns=[step, ],
logfns=[log, ],
loginterval=2)
run.run(10)
Clone and install or pip install git+https://github.com/AllenCellModeling/runman.git
For full package documentation please visit AllenCellModeling.github.io/runman.
Available under the Allen Institute Software License