summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/jalc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/jalc.py b/python/fatcat_tools/importers/jalc.py
index 8f8d1f66..5ec2f139 100644
--- a/python/fatcat_tools/importers/jalc.py
+++ b/python/fatcat_tools/importers/jalc.py
@@ -90,7 +90,9 @@ class JalcImporter(EntityImporter):
doi = None
if record.doi:
doi = record.doi.string.lower().strip()
- assert doi.startswith('10.')
+ if not doi.startswith('10.'):
+ sys.stderr.write("bogus JALC DOI: {}\n".format(doi))
+ doi = None
contribs = []
people = record.find_all("Person")