aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-02-01 16:17:23 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-02-05 17:09:54 -0800
commit6f6955e0971e162d61cf001431bb861f4d99466e (patch)
tree1a792a234c2b1d8be6f6d57a39ad4ce1b0bae43f /python/fatcat_tools
parent92f98ee33a2cfe8612eab14f04ba377821930ee9 (diff)
downloadfatcat-6f6955e0971e162d61cf001431bb861f4d99466e.tar.gz
fatcat-6f6955e0971e162d61cf001431bb861f4d99466e.zip
don't print missing DOIs, just count
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/importers/matched.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/matched.py b/python/fatcat_tools/importers/matched.py
index cc814e3a..ce2f4d57 100644
--- a/python/fatcat_tools/importers/matched.py
+++ b/python/fatcat_tools/importers/matched.py
@@ -60,11 +60,13 @@ class MatchedImporter(EntityImporter):
raise err
re = None
if re is None:
- print("DOI not found: {}".format(doi))
+ #print("DOI not found: {}".format(doi))
+ pass
else:
re_list.add(re.ident)
release_ids = list(re_list)
if len(release_ids) == 0:
+ self.counts['skip-no-doi'] += 1
return None
# parse URLs and CDX