From 5f6f22fda8a2da03b27bc7364b0a3f34511a6d7f Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Sun, 24 Mar 2024 13:51:24 +0100 Subject: [PATCH] Minor cleanup --- src/pyobo/sources/uniprot/uniprot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyobo/sources/uniprot/uniprot.py b/src/pyobo/sources/uniprot/uniprot.py index 2c5acc2c..639e0acd 100644 --- a/src/pyobo/sources/uniprot/uniprot.py +++ b/src/pyobo/sources/uniprot/uniprot.py @@ -70,7 +70,7 @@ def iter_terms(version: Optional[str] = None) -> Iterable[Term]: uniprot_id, accession, taxonomy_id, - name, + _name, # this field should have the name, but it's a mismatch of random name annotations ecs, pubmeds, pdbs, @@ -117,7 +117,7 @@ def iter_terms(version: Optional[str] = None) -> Iterable[Term]: # FIXME this needs a different relation, # see https://github.com/biopragmatics/pyobo/pull/168#issuecomment-1918680152 participates_in, - Reference.from_curie(rhea_curie), + Reference(prefix="rhea", identifier=rhea_curie.removeprefix("RHEA:")), ) if bindings: