Skip to content

Commit

Permalink
Re-enable idutils
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Oct 16, 2024
1 parent acefb28 commit b0a823b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ames/harvesters/datacite.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b0a823b

Please sign in to comment.