Skip to content

Commit

Permalink
correction in batches.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaraCati committed Jul 18, 2022
1 parent d427e60 commit 481f0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batches_cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 481f0ee

Please sign in to comment.