Skip to content

0.20.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 10:18
· 1 commit to develop since this release
bcf08f2

Release notes for sbmlutils 0.20.0

sbmlutils requires python-libsbml 5.22.0, which fixes defects sbmlutils worked around, and drops the workarounds.

  • python-libsbml is 5.22.0 or newer, formerly 5.21.2, and pymetadata 0.9.2 or newer, formerly 0.9.0.
  • A model definition writes fbc:strict as the model of the document does: its strict, else fbc:strict="false" when the document declares fbc, so a model definition with fbc content validates without the error 2020209 and a round trip keeps its strict. libsbml before 5.22.0 wrote the attribute twice on a <comp:modelDefinition>, which made the document unreadable, so sbmlutils did not write it and warned (sbmlteam/libsbml#495).
  • The name of an EquationPart, a reactant, product or modifier of a reaction, is set whatever text it is, e.g. with a space, instead of being dropped with a warning (sbmlteam/libsbml#490).
  • The sid and name of a ReplacedElement, a ReplacedBy and a nested SbaseRef are written into an SBML L3V2 document and read back; in an L3V1 document they are reported as every other attribute of L3V2, with the advice to write L3V2. libsbml before 5.22.0 wrote them at no level (sbmlteam/libsbml#494). The construction diagnostic unwritten_attribute, which only these two attributes produced, is gone.
  • A <comp:port> names a key-value pair of fbc version 3 by its comp:idRef in an L3V1 document as well, since libsbml 5.22.0 reads the fbc:id of a pair back from it.
  • UncertParameter takes libsbml.DISTRIB_UNCERTTYPE_COEFFICIENTOFVARIATION, written as coefficientOfVariation, the spelling of the distrib specification (sbmlteam/libsbml#492); DISTRIB_UNCERTTYPE_COEFFIENTOFVARIATION, the misspelling libsbml knew before, is still taken and written as it is.
  • The key-value pairs of a reactant and a product are read back by libsbml 5.22.0 (sbmlteam/libsbml#493), so a round trip compares them as it compares those of a modifier.
  • A port still names a rule, an initial assignment and an event assignment by its metaid: getElementBySId answers with them since libsbml 5.22.0, but the comp validator still rejects a comp:idRef to them (1020702).
  • sbmlutils.converters.ode, the deprecated aliases of the ODE generator, works with sbmlsim-core 0.60.0 and newer again, which renamed FORMATS and Format to ODE_FORMATS and OdeFormat and made render, render_template and write methods of OdeSystem: importing the module failed with an ImportError. Its names keep their former API on top of the new one, for every sbmlsim-core from 0.36.0 on.