Repository navigation
Release notes for sbmlutils 0.17.3
We are pleased to release the next version of sbmlutils including the following changes. This release is the libraries of the day: the ODE export reads the wide math of a model without recursion, and the COMBINE archives are read and written by the Rust core of pymetadata.
Dependencies
sbmlode>=0.3.3, whichsbmlutils.converters.odere-exports module for module. libsbml reads the flat n-ary sum of a MathML document as a chain of binary nodes, so an assignment rule which sums 1,200 parameters is math 1,200 levels deep: the documents of such a model failed with aRecursionErrorand dropping the zero terms of such a sum copied the square of its length in nodes (a sum of 5,000 terms took 23 seconds and 14 GB). The printers and the walks ofastutilcarry a stack of their own now, a chain of 20,000 terms renders in every format in under a second, and math which nests genuinely deeper than the printers can read is refused with anUnsupportedMathErrorwhich names the depth and the element instead of aRecursionError.pymetadata>=0.9.0, whosepymetadata.omexreads and writes COMBINE archives through the Rustpymetadata-core. The public API ofOmex,ManifestandManifestEntryis unchanged andsbmlutils.biomodelsreads the archives of BioModels as before; reading is lazy and a member which nobody touched is copied compressed, so an archive is read and written several times faster. The bytes of a written archive change where its content does not: themanifest.xmlis serialized by the core (nomaster="false"attribute, a single quoted XML declaration) and a member which is written anew carries the zip epoch as its modification time, which makes a written archive reproducible. pymetadata is no longer pure python, see its installation for the platforms which have a wheel.
Your sbmlutils team
