Cellmlmanip

Latest version: v0.3.7

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

Scan your dependencies

Page 1 of 3

0.3.7

- Added support for Python 3.12 and 3.13.
- Dropped support for Python 3.6, 3.7 and 3.8 as they are at end of life.
- Pinned sympy to be < 1.13. See https://github.com/ModellingWebLab/cellmlmanip/issues/376.

0.3.6

- Added the ability to exclude a collection of tags from being used as variable names, by adding the `exclude_terms` parameter to `model.get_display_name`. This can be used for example to prevent ontology annotation that can be used multiple times from appearing as the display name of a variable.

0.3.5

- Pinned Pint version to be > 0.9 and < 0.20 since 0.20 has changed the location and number of arguments of the ScaleConverter and UnitDefinition classes
- Fixed a bug in the parser where equations in a piecewise containing a boolean caused parsing errors.
see https://github.com/ModellingWebLab/cellmlmanip/issues/350
- Added an error for duplicate unit definitions.
- Added error message when trying to connect components that do not exist.
- Added an error for duplicate component names.
- Fixed errors dealing with dimensionless units which have a multiplier or exponent, and added an error for offset units (where the offset is not 0) as those are not supported.
see https://github.com/ModellingWebLab/cellmlmanip/issues/351
- Improved error reporting: When a unit is defined inside a component and used it now throws a ValueError indicating units in components are not supported. Previously a confusing KeyError was thrown, which suggested the unit was not found.
- Added a better error message for inequalities <, >, <=, >= when one or both sides are a boolean. Added a warning for == and != when one side is a boolean, but not the other.
- Added better error messages for booleans appaearing in derivatives and derivative equations.

0.3.4

- Updated how substitution of functions that were changed in the parser are handled during analysis for fixing singularities, in order to make sure it workes with sympy 1.10
- Dropped support for python 3.5 as it is end of life.

0.3.3

- Minor performance upgrade for `Model.remove_fixable_singularities` using caching on fixing singularites. No functionality changes.

0.3.2

- Bug fix for parsing error created by version 6 of rdflib. This fix is backwards compatible with version 5 and does not change anything else.

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.