Release notes for sbmlutils 0.10.1
We are pleased to release the next version of sbmlutils including the following changes.
Features
create_modelwrites additional serializations of the created model next to the SBML file for inspection:create_antimony=Truewrites the antimony notation to*.antandcreate_markdown=Truewrites the markdown overview of the ODE system (parameters, initial conditions, assignments and ODEs with their units) to*.md. Both are off by default, the paths of the written files are reported asantimony_pathandmarkdown_pathon theFactoryResultsbml_to_antimonyinsbmlutils.ioconverts an SBML file or string to antimony, the inverse ofparser.antimony_to_sbmlsbmlutils.metadatare-exportsPBPKO, the ontology of physiologically based pharmacokinetic models of pymetadata, next toBQB,BQMandSBO, so a model definition only imports from sbmlutils
Fixes
- the reaction equation of the report (
SBMLDocumentInfo) raised for a variable stoichiometry: SBML Level 3 expresses a stoichiometry set by an initial assignment or a rule as NaN on the species reference, which the equation shows as the id of the species reference (v4_x x, or?without an id). Negative stoichiometries other than -1 rendered with a doubled sign (--2.5 x). The unset stoichiometry is read from libsbml, which is 1.0 in Level 2 and NaN in Level 3, instead of a hard-coded 1.0 API_EXAMPLES_MODELlisted the distrib models twice, explicitly and through the example ids, so sbml4humans warned about duplicate example ids on startup.tests/test_resources.pychecks that every example model exists and is listed once
Documentation
- the antimony and markdown serialization of
create_modelandsbml_to_antimonyare described in Model creation, Reading and writing and Converters
Development
- pymetadata >= 0.6.1 is required
- the
egg-infoof editable installs is ignored by git - the citation in
CITATION.cffandREADME.mdrefers to the Zenodo record of the 0.10.0 release, and the documentation start page carries the citation as well
Your sbmlutils team
