pypi pymetadata 0.9.1

41 minutes ago

Release notes for pymetadata 0.9.1

pymetadata

Fixes

  • A term of pymetadata.ontologies is a resource of an annotation, RDFAnnotation(BQB.IS, PBPKO.MOLECULE), and is written as its url (#119). The term was taken as its identifier, COB_0000013, which names no collection: pymetadata logged "Resource COB_0000013 could not be split in collection and term" and the bare identifier ended up as the rdf:resource of the annotation, e.g. in the SBML models of pkdb_models which annotate their species with PBPKO.MOLECULE.
  • OntologyTerm.url is the url which resolves the term (#119): the identifiers.org url if the identifiers.org registry has the collection of the term and the term matches its pattern, otherwise the bioregistry.io url. It was always https://identifiers.org/<curie>, which identifiers.org refuses for PBPKO, KISAO, COB, BFO and NCBITaxon (not registered under that prefix) and for OBI and RO (the prefix is not part of the term there, https://identifiers.org/obi:OBI_0000014). Examples: SBO.SIMPLE_CHEMICAL.url stays https://identifiers.org/SBO:0000247, PBPKO.PHYSIOLOGICALLY_BASED_PHARMACOKINETIC_MODEL.url is https://bioregistry.io/PBPKO:00003, KISAO.CVODE.url is https://bioregistry.io/KISAO:0000019. The url is taken from the registry, which RDFAnnotation loads anyway, so the first url of a session loads the cached identifiers.org registry.

Ontologies

  • The ontology modules are regenerated from the current releases of SBO, KISAO and PBPKO; nothing changed.

Your pymetadata team

Don't miss a new pymetadata release

NewReleases is sending notifications on new releases.