From c468443d325a5e091162cfb5f85697679e87eb72 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 13 Jul 2021 11:55:50 -0700 Subject: another lowercase DOI in an (unused?) script --- python/scripts/import_grobid_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/scripts/import_grobid_metadata.py b/python/scripts/import_grobid_metadata.py index 3d2e14c..d01b526 100755 --- a/python/scripts/import_grobid_metadata.py +++ b/python/scripts/import_grobid_metadata.py @@ -59,7 +59,7 @@ def parse_grobid_json(obj): release_date = datetime.datetime(year=obj['date'], month=1, day=1) if obj.get('doi'): - extra['doi'] = obj['doi'] + extra['doi'] = obj['doi'].lower() if obj['journal'].get('name'): extra['container_name'] = obj['journal']['name'] -- cgit v1.2.3