Skip to content

Commit

Permalink
Fix UP ID manipulation in CX processor
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Sep 20, 2019
1 parent b501460 commit 69bc642
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions indra/sources/ndex_cx/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ def _initialize_node_agents(self):
for node in nodes:
id = node['@id']
cx_db_refs = self.get_aliases(node)
up_id = cx_db_refs.get('UP')
up_id = uniprot_client.get_primary_id(up_id)
node_name = node['n']
up_id = cx_db_refs.get('UP')
if up_id:
db_refs = {'UP': up_id, 'TEXT': node_name}
hgnc_id = uniprot_client.get_hgnc_id(up_id)
Expand Down

0 comments on commit 69bc642

Please sign in to comment.