KarrLab / wc_sim

A multi-algorithmic simulator for whole-cell models
MIT License
6 stars 2 forks source link

Improve error handling in Simulation.run() #77

Closed artgoldberg closed 4 years ago

artgoldberg commented 4 years ago

In Simulation.run(), instead of print(), raise MultialgorithmError exceptions, and have it just return num events.

artgoldberg commented 4 years ago

And remove rv = simulation.run(**simul_kwargs).

artgoldberg commented 4 years ago

done