Release notes for sbmlutils 0.12.1
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/1406is written ashttps://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 formhttps://identifiers.org/<collection>/<term>, up to 0.6.3 it returned the bare1406. 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:chebiorchebi/, and one without a collection,urn:miriam::1406(#479) create_modelwarns about the parameters and compartments which areconstant=Falseand 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
Fbloodof the icg example areconstant=True; they were declaredconstant=Falseand 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, sohttp://identifiers.org/ec-code/1.1.1.1is parsed as a resource ofec-code; theidentifiers-orgentry of the round trip whitelist intests/structural.pyspells a prefix the same way and accepts the classic form
Your sbmlutils team
