Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Dec 19, 2023
1 parent 9b42082 commit 006ae93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indra/literature/pubmed_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ def article_is_retracted(pmid: int) -> bool:
global retractions
if retractions is None:
with open(RETRACTIONS_FILE, 'r') as fh:
retractions = {int(row[0]) for row in fh.read().splitlines()}
retractions = {int(row) for row in fh.read().splitlines()}
return int(pmid) in retractions


Expand Down

0 comments on commit 006ae93

Please sign in to comment.