Skip to content

Commit

Permalink
Fix order in chembl target build
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Apr 29, 2024
1 parent 8a54b49 commit ecd3e96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/semra/sources/chembl.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def get_chembl_protein_mappings(version: Optional[str] = None) -> list[Mapping]:
df = chembl_downloader.get_uniprot_mapping_df(version=version)
return [
Mapping(
s=Reference(prefix="uniprot", identifier=uniprot),
s=Reference(prefix="chembl.target", identifier=chembl_id),
p=EXACT_MATCH,
o=Reference(prefix="chembl.target", identifier=chembl_id),
o=Reference(prefix="uniprot", identifier=uniprot),
evidence=[
SimpleEvidence(
justification=UNSPECIFIED_MAPPING,
Expand Down

0 comments on commit ecd3e96

Please sign in to comment.