Skip to content

Commit

Permalink
Changed edge between drug and disease to "treats_or_applied_or_studie…
Browse files Browse the repository at this point in the history
…d_to_treat"
  • Loading branch information
beasleyjonm authored Dec 11, 2024
1 parent 3572e34 commit f5eeb7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parsers/drugmechdb/src/loadDrugMechDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def parse_data(self) -> dict:
disease_mesh = entry["graph"]["disease_mesh"]
links = entry["links"]

### Add "biolink:treats" edges between the drug and disease in each indication path.
### Add "biolink:treats_or_applied_or_studied_to_treat" edges between the drug and disease in each indication path.
source_target_pair_dict["dmdb_ids"].append(dmdb_id)

source = drug_drugbank
Expand All @@ -144,7 +144,7 @@ def parse_data(self) -> dict:
source_target_pair_dict["object_direction_qualifiers"].append("")
source_target_pair_dict["object_aspect_qualifiers"].append("")

predicate = "biolink:treats"
predicate = "biolink:treats_or_applied_or_studied_to_treat"
source_target_pair_dict["predicates"].append(predicate)

### Add all explicitly described links in indication path.
Expand Down

0 comments on commit f5eeb7b

Please sign in to comment.