From b0a823ba8fcd493dca8c7a8ebd36147f38547de3 Mon Sep 17 00:00:00 2001 From: Tom Morrell Date: Wed, 16 Oct 2024 16:43:55 -0700 Subject: [PATCH] Re-enable idutils --- ames/harvesters/datacite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ames/harvesters/datacite.py b/ames/harvesters/datacite.py index bdf3ee8..63cf89a 100644 --- a/ames/harvesters/datacite.py +++ b/ames/harvesters/datacite.py @@ -1,9 +1,9 @@ import requests +import idutils def get_datacite_codemeta(doi): - # Removing normalization until idutils (isbn) depdencies get fixed - # doi = idutils.normalize_doi(doi) + doi = idutils.normalize_doi(doi) citation_link = "https://data.datacite.org/application/vnd.codemeta.ld+json/" codemeta = requests.get(citation_link + doi).json() return codemeta