Release notes for pymetadata 0.6.4
We are pleased to release the next version of pymetadata including the
following changes:
Fixes
Omex.from_directory, and with itOmex.from_omexandOmex.from_url, add the entries in the order of the manifest, followed by the files which the manifest does not list, sorted by their location. The entries were added in the order ofos.walk, which is the order of the file system, somanifest.entriesandentries_by_formatof the same archive differed between machinesRDFAnnotation.resource_normalizedkeeps the collection and the term of every resource: the result is a URL, and parsing it again gives the samecollectionandterm. A collection which is not in the identifiers.org registry (http://identifiers.org/sabiork/1406,urn:miriam:foo:bar) was reduced to the bare term, and a term which does not match the pattern of its collection (http://identifiers.org/chebi/000000035) lost its collection. Both are now returned ashttps://identifiers.org/<collection>/<term>, and the compact identifier of a prefix which is not in the registry stays the URLhttps://identifiers.org/CMO:0000012(#81)- identifiers.org URLs of a prefix with a hyphen or an underscore, like
ec-code,pdb-ccdorgo_ref, are parsed into collection and term instead of being kept as an arbitrary URL (#81) - the collection of a MIRIAM URN and of the
collection/termnotation is lowercased, as it already was for URLs, soTAXONOMY/9606is the collectiontaxonomy(#81)
Your pymetadata team