Skip to content

Commit

Permalink
Merge pull request #132 from dianakolusheva/faster-emmaa
Browse files Browse the repository at this point in the history
Fix class name
  • Loading branch information
pagreene committed Sep 8, 2020
2 parents 424a84b + a4f5f77 commit 852a7ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indra_db/client/principal/raw_statements.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def get_raw_stmt_jsons_from_papers(id_list, id_type='pmid', db=None):
if id_type == 'pmid':
id_constraint = db.TextRef.pmid_in(id_list, filter_ids=True)
elif id_type == 'pmcid':
id_constraint = db.TextContent.pmcid_in(id_list, filter_ids=True)
id_constraint = db.TextRef.pmcid_in(id_list, filter_ids=True)
elif id_type == 'doi':
id_constraint = db.TextContent.doi_in(id_list, filter_ids=True)
id_constraint = db.TextRef.doi_in(id_list, filter_ids=True)
else:
id_constraint = _get_id_col(db.TextRef, id_type).in_(id_list)

Expand Down

0 comments on commit 852a7ae

Please sign in to comment.