Skip to content

Commit

Permalink
Add drug chemical conflation to NN
Browse files Browse the repository at this point in the history
  • Loading branch information
maximusunc committed Jul 18, 2024
1 parent 5fdb619 commit a22fc08
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions strider/normalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ async def get_types(self, curies):
try:
results = await post_json(
f"{settings.normalizer_url}/get_normalized_nodes",
{"curies": curies},
{
"curies": curies,
"conflate": True,
"drug_chemical_conflate": True,
},
self.logger,
"Node Normalizer",
)
Expand All @@ -61,7 +65,11 @@ async def load_curies(self, *curies: list[str]):
try:
response = await post_json(
f"{settings.normalizer_url}/get_normalized_nodes",
{"curies": curies},
{
"curies": curies,
"conflate": True,
"drug_chemical_conflate": True,
},
self.logger,
"Node Normalizer",
)
Expand Down

0 comments on commit a22fc08

Please sign in to comment.