Skip to content

Commit

Permalink
MeSH lookup offline only
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Nov 24, 2022
1 parent f79b540 commit 0252472
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indra/sources/medscan/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,8 @@ def _urn_to_db_refs(urn):
else:
# Identifier is MESH
urn_mesh_name = unquote(urn_id)
mesh_id, mesh_name = mesh_client.get_mesh_id_name(urn_mesh_name)
mesh_id, mesh_name = mesh_client.get_mesh_id_name(urn_mesh_name,
offline=True)
if mesh_id:
db_refs['MESH'] = mesh_id
db_name = mesh_name
Expand Down

0 comments on commit 0252472

Please sign in to comment.