Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Mar 24, 2024
1 parent 7d4f94a commit 5f6f22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyobo/sources/uniprot/uniprot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 5f6f22f

Please sign in to comment.