ecell / ecell4_base

An integrated software environment for multi-algorithm, multi-timescale, multi-spatial-representation simulation of various cellular phenomena
https://ecell4.e-cell.org/
GNU General Public License v3.0
62 stars 23 forks source link

:bug: check bound model before adding molecules #425

Closed ToruNiina closed 4 years ago

ToruNiina commented 4 years ago

Since world.add_molecules() often receives a Species that only has its serial, some indispensable parameters such taht radius and D might be missing. To avoid this inconvenience, it is needed to search species in the model that is bound to the world.