From 006ae9350e3f771daf3c69b96f3d91df455c195b Mon Sep 17 00:00:00 2001 From: kkaris Date: Mon, 18 Dec 2023 16:10:37 -0800 Subject: [PATCH] Fix bug --- indra/literature/pubmed_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/literature/pubmed_client.py b/indra/literature/pubmed_client.py index 36f993ab12..1d773dc4ee 100644 --- a/indra/literature/pubmed_client.py +++ b/indra/literature/pubmed_client.py @@ -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