diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-07-19 14:28:59 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-07-19 14:28:59 -0700 |
commit | 5e15ca96db59858231c83b0af210a6a04054612c (patch) | |
tree | 168e1bb20e8360aa72e4761f7346131e7c77122e /python/fatcat_tools | |
parent | 1975b3267aa20925bb28598a57517a530458b538 (diff) | |
download | fatcat-5e15ca96db59858231c83b0af210a6a04054612c.tar.gz fatcat-5e15ca96db59858231c83b0af210a6a04054612c.zip |
doaj: require container linkage for release import
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r-- | python/fatcat_tools/importers/doaj_article.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/doaj_article.py b/python/fatcat_tools/importers/doaj_article.py index 8f5e7acf..2459e8f3 100644 --- a/python/fatcat_tools/importers/doaj_article.py +++ b/python/fatcat_tools/importers/doaj_article.py @@ -100,6 +100,10 @@ class DoajArticleImporter(EntityImporter): container_name = None break + if not container_id: + self.counts['skip-no-container'] += 1 + return None + volume = clean_str(bibjson["journal"].get("volume")) # NOTE: this schema seems to use "number" as "issue number" issue = clean_str(bibjson["journal"].get("number")) |