This issue proposes a new result type for run_simulation. It would work as follows:
ret = run_simulation(10, return_type='full')
ret.plot() # => show some plot
print(ret.as_array()) # => return an array
print(ret.as_pandas()) # => return a data frame
w = ret.world()
w.add_molecules(Species('X'), 100) # => operate the last state
run_simulation(10, world=w) # => continue running
See also https://github.com/ecell/ecell4-base/issues/76
This issue proposes a new result type for
run_simulation
. It would work as follows: