Skip to content

Commit

Permalink
Merge pull request #98 from Knowledge-Graph-Hub/update_drug_ids_drug_…
Browse files Browse the repository at this point in the history
…central

Update drug id to use struct_id instead of drug name
  • Loading branch information
deepakunni3 committed Apr 15, 2020
2 parents 487136a + 1e52d3f commit 2f3cb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kg_covid_19/transform_utils/drug_central/drug_central.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def run(self, species="Homo sapiens") -> None:

# get drug ID
drug_id = drug_curie_prefix + get_item_by_priority(items_dict,
['DRUG_NAME'])
['STRUCT_ID'])

# WRITE NODES
# drug - ['id', 'name', 'category']
Expand Down

0 comments on commit 2f3cb47

Please sign in to comment.