Skip to content

Commit

Permalink
Merge pull request #1453 from bgyori/signor_fix
Browse files Browse the repository at this point in the history
Add fix for issue with latest release
  • Loading branch information
bgyori authored Jul 10, 2024
2 parents 24aa958 + 3c70611 commit e064450
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions indra/sources/signor/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,9 @@ def process_uniprot_entry(up_id):
# As of 4/2023, the ID is formatted as P12345-PRO_12345 or P12345-1.
if up_id == 'P17861_P17861-2':
up_id = 'P17861-2'
# Fix for a July 2024 release issue
if up_id == 'MDM2':
return {'UP': 'Q00987'}
parts = up_id.split('-')
if len(parts) == 1:
return {'UP': up_id}
Expand Down

0 comments on commit e064450

Please sign in to comment.