Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidastri committed Sep 23, 2024
1 parent 3e3cd6b commit a5a614f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema_transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ def correctify_orcid(org_orcid):

return "https://orcid.org/{}".format(orcs[-1])


def correctify_scopus(org_scopus):
"""Correct illformatted Scopus."""
# Get rid of all spaces.
Expand All @@ -793,7 +794,7 @@ def correctify_isni(org_isni):
if not re.search("^[0-9]{15}[0-9X]$", new_isni[-1]):
# Return original value.
return org_isni

return "https://isni.org/isni/{}".format(new_isni)


Expand Down

0 comments on commit a5a614f

Please sign in to comment.