From 481f0eed9738a5f197d210fae7ccf1d765fb9913 Mon Sep 17 00:00:00 2001 From: ChiaraCati Date: Mon, 18 Jul 2022 15:51:41 +0200 Subject: [PATCH] correction in batches.py --- batches_cleaner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batches_cleaner.py b/batches_cleaner.py index 93fdf13..bb501d9 100644 --- a/batches_cleaner.py +++ b/batches_cleaner.py @@ -32,7 +32,7 @@ def clean(files): check = False #checker if the article has doi, if not it will be skipped as we cannot query Crossref without it for item in article['bibjson']['identifier']: - if 'doi' in item.values(): + if ('doi'|'DOI') in item.values(): if 'id' in item: doi = item['id'] check = True