Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Jul 26, 2023
1 parent 3bda509 commit 7c1a6ff
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/data/wikidata/wikidata_2023-07-25.json
Original file line number Diff line number Diff line change
Expand Up @@ -1033,4 +1033,4 @@
"alias": "(\u00b1)-hyoscyamine",
"itemLabel": "atropine"
}
]
]
18 changes: 18 additions & 0 deletions tests/unit/test_drugsatfda.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ def everolimus() -> Therapy:
"spl:bdb8f3d8-f584-4ebd-87e8-b4a4bc43f482",
"unii:9HW64Q8G6G",
],
"xrefs": [
"rxcui:1119402",
"rxcui:1308432",
"rxcui:1119400",
"rxcui:845518",
"rxcui:1308430",
"rxcui:845512",
"rxcui:1310138",
"rxcui:1308428",
"rxcui:998189",
"rxcui:845515",
"rxcui:1310147",
"rxcui:845507",
"rxcui:1310144",
"rxcui:998191",
],
"approval_ratings": ["fda_prescription"],
"trade_names": ["AFINITOR"]
})
Expand Down Expand Up @@ -119,6 +135,8 @@ def cisplatin() -> List[Therapy]:
"ndc:68083-162",
"ndc:68083-163",
"ndc:70860-206",
"ndc:25021-253",
"spl:64bcce1a-6e31-4e73-8da5-11aa9e890da2",
"spl:01c7a680-ee0d-42da-85e8-8d56c6fe7006",
"spl:5a24d5bd-c44a-43f7-a04c-76caf3475012",
"unii:Q20Q21Q62J",
Expand Down
20 changes: 20 additions & 0 deletions tests/unit/test_hemonc.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,26 @@ def cisplatin():
"associated_with": [],
"approval_ratings": ["hemonc_approved"],
"approval_year": ["1978"],
"has_indication": [
{
"disease_id": "hemonc:671",
"disease_label": "Testicular cancer",
"normalized_disease_id": "ncit:C7251",
"supplemental_info": {"regulatory_body": "FDA"}
},
{
"disease_id": "hemonc:645",
"disease_label": "Ovarian cancer",
"normalized_disease_id": "ncit:C7431",
"supplemental_info": {"regulatory_body": "FDA"}
},
{
"disease_id": "hemonc:569",
"disease_label": "Bladder cancer",
"normalized_disease_id": "ncit:C9334",
"supplemental_info": {"regulatory_body": "FDA"}
}
]
})


Expand Down
7 changes: 6 additions & 1 deletion tests/unit/test_wikidata.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,12 @@ def atropine():
"8-Methyl-8-azabicyclo[3.2.1]oct-3-yl tropate",
],
"approval_ratings": [],
"xrefs": ["drugbank:DB00572", "chemidplus:51-55-8", "rxcui:1223"],
"xrefs": [
"drugbank:DB00572",
"chemidplus:51-55-8",
"rxcui:1223",
"chembl:CHEMBL517712"
],
"associated_with": [
"pubchem.compound:174174",
],
Expand Down

0 comments on commit 7c1a6ff

Please sign in to comment.