Skip to content

Commit

Permalink
Fix result_type bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
pagreene committed Jul 17, 2020
1 parent c3a15af commit e031a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indra_db/reading/read_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def get_rslts_safely(self, reading_data):
logger.debug("Got no results for %s." %
reading_data.reading_id)
for rslt in rslts:
if reading_data.kind_of_results == 'statements':
if reading_data.reader_class.results_type == 'statements':
rslt.evidence[0].pmid = None
rslt_data = DatabaseStatementData(
rslt, reading_data.reading_id)
Expand Down

0 comments on commit e031a7d

Please sign in to comment.