pypi pymetadata 0.8.0

3 hours ago

Release notes for pymetadata 0.8.0

pymetadata

New

  • UniprotQuery.query reads the protein information of a UniProt accession (name, organism, genes, length, function), including isoform accessions such as P69905-2. Responses are cached, an outdated cache is used when UniProt cannot be reached.
  • ChebiQuery.structure returns the structure of a ChEBI compound as svg, cached and written atomically.
  • RDFAnnotationData carries the ontology, iri and ols_url of the term in OLS, and reports the providers of a collection with the primary one first, the collection_name and collection_homepage, and pattern_match, whether the term matches the pattern of its collection.
  • OLSQuery reports the ontology, the iri and the page of the term in OLS (ols_url).
  • WebserviceNotFoundError, a subclass of WebserviceError for a 404 answer, and get_bytes for binary downloads.

Changes

  • A collection which is not on OLS gives no information and no warning or error.
  • A term which OLS does not know is a warning and no longer an error; an outdated cache entry is not used for it.
  • The url of an annotation is the url of the official non deprecated provider of the registry, e.g., UniProt links UniProt instead of NCBI Protein.
  • A corrupt cache file of the ChEBI and UniProt queries is queried again.

Your pymetadata team

Don't miss a new pymetadata release

NewReleases is sending notifications on new releases.