aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/importers/pubmed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/pubmed.py b/python/fatcat_tools/importers/pubmed.py
index 923c5492..d31e2f60 100644
--- a/python/fatcat_tools/importers/pubmed.py
+++ b/python/fatcat_tools/importers/pubmed.py
@@ -377,7 +377,7 @@ class PubmedImporter(EntityImporter):
pmid = medline.PMID.string.strip()
doi = identifiers.find("ArticleId", IdType="doi")
if doi:
- doi = doi.string.lower()
+ doi = doi.string.lower().strip()
if doi.startswith('doi:'):
doi = doi[4:]
if not (doi.startswith('10.') and '/' in doi and doi.split('/')[1]):