pypi sbmlutils 0.12.1

5 hours ago

Release notes for sbmlutils 0.12.1

sbmlutils

We are pleased to release the next version of sbmlutils including the following changes.

Behaviour changes

  • an annotation resource of a collection the identifiers.org registry does not know is normalized like every other resource: http://identifiers.org/sabiork/1406 is written as https://identifiers.org/sabiork/1406, where 0.12.0 wrote it exactly as given and reported it once per collection. pymetadata 0.6.4 keeps the collection of such a resource in the classic form https://identifiers.org/<collection>/<term>, up to 0.6.3 it returned the bare 1406. The same holds for a term without the prefix its collection embeds, http://identifiers.org/chebi/000000035. What is still written as given, and reported, is a resource which is malformed to begin with: one without a term, urn:miriam:chebi or chebi/, and one without a collection, urn:miriam::1406 (#479)
  • create_model warns about the parameters and compartments which are constant=False and never changed, once per kind of element with every id. Changing a value takes an assignment rule, a rate rule, an algebraic rule, an event assignment or, for a parameter, a user defined constraint of fbc which names it as a variable; an initial assignment does not count. An element of the comp interface - one with a port, or one which replaces an element of a submodel or is replaced by one - is left out, because what changes it can live in another model. The warning is an authoring hint, so a model which was parsed from a file is written without it (#463)

Fixes

  • the compartments of the demo example and Fblood of the icg example are constant=True; they were declared constant=False and nothing changes them

Development

  • pymetadata >= 0.6.4 is required. It also lower cases the collection of every resource and accepts _ and - in the prefix of an identifiers.org URL, so http://identifiers.org/ec-code/1.1.1.1 is parsed as a resource of ec-code; the identifiers-org entry of the round trip whitelist in tests/structural.py spells a prefix the same way and accepts the classic form

Your sbmlutils team

Don't miss a new sbmlutils release

NewReleases is sending notifications on new releases.