aboutsummaryrefslogtreecommitdiffstats
path: root/python/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'python/scripts')
-rwxr-xr-xpython/scripts/import_grobid_metadata.py2
1 files changed, 1 insertions, 1 deletions
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']