SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 897e73c9 authored by Boris Ponsioen's avatar Boris Ponsioen
Browse files

Readds error handling in get_crossref_test temporarily

parent c99c6915
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ def get_crossref_test(cursor='*'):
# Parser returns None if there's an error
errors = any([not i for i in citables if i == False])
orig_citables = citables
citables = [citable for citable in citables if citable is not None]
citables = [citable for citable in citables if citable]
# Mass insert in database (will fail on encountering existing documents
# with same DOI
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment