Copasi-basico

Latest version: v0.81

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 14

0.63

Another bug fix release, for retrieving / setting CN's. Now empty references will be given as empty string.

0.62

This release fixes the issues 40, where the initial time could not be retrieved or set. 41 and 42 where CNs could not be retrieved for generalized task settings.

0.61

This release contains further improvements in translating expressions with names to expressions of CNs as expected by the COPASI C++ API.

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:

python
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)

0.59

This release fixes an issue, where `get_parameters` or `get_species` would return expressions from the *current* model, rather than from the model that has been passed in. Additionally upon request get functions now return the `display_name` of elements additionally rather than just the `name`. Also `transition_time` is now returned when calling `get_species` which might be of interest after bringing the model to steady state.

**Full Changelog**: https://github.com/copasi/basico/compare/v0.58...v0.59

0.58

This release fixes an issue with `get_reaction_mappings` that on some systems would fail to provide the complete mapping of a reaction element. Additionally an issue is fixed when `set_task_settings` is used to change `Duration` / `StepNumber` of time courses, which unfortunately would sometimes not be correct. Also added two new methods:

* `get_model_name` returns the name of the current model
* `remove_loaded_models` removes all loaded models

Page 4 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.