Release 0.60
Another bug fix release, this time with setting the expressions for a different than the current model. With that species / parameters can now be cloned from dictionary like so:
# get from one model
species = basico.as_dict(basico.get_species())
params = basico.as_dict(basico.get_parameters())
# start new model
dm = basico.new_model()
# ensure we have all species
for s in species:
basico.add_species(s['name'], s['compartment'])
for p in params:
basico.add_parameter(p['name'], p['value'])
# now set all values as we had them
for s in species:
basico.set_species(exact=True, **s)
for p in params:
basico.set_parameters(exact=True, **p)