From 6f6955e0971e162d61cf001431bb861f4d99466e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 1 Feb 2019 16:17:23 -0800 Subject: don't print missing DOIs, just count --- python/fatcat_tools/importers/matched.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3