Skip to content

Commit

Permalink
Add EIDOS to list of readers for IDs.
Browse files Browse the repository at this point in the history
  • Loading branch information
pagreene committed May 3, 2020
1 parent d7226d0 commit 41c3197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion indra_db/databases.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class formats(_map_class):
EKB = 'ekb'


readers = {'REACH': 1, 'SPARSER': 2, 'TRIPS': 3, 'ISI': 4}
readers = {'REACH': 1, 'SPARSER': 2, 'TRIPS': 3, 'ISI': 4, 'EIDOS': 5}


# Specify versions of readers, and preference. Later in the list is better.
Expand Down
2 changes: 1 addition & 1 deletion indra_db/managers/content_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def id_idx(id_type):
for id_type in match_id_types:
id_list = [entry[id_idx(id_type)] for entry in tr_data_set
if entry[id_idx(id_type)] is not None]
# Add SqlAlchemy filter clause based on the ID list for this ID type
# Add SqlAlchemy filter clause based on ID list for this ID type
if id_list:
if id_type == 'pmid':
term = db.TextRef.pmid_in(id_list, filter_ids=True)
Expand Down

0 comments on commit 41c3197

Please sign in to comment.