diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-04-16 20:54:20 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-04-16 20:54:20 +0200 |
commit | e063d2f470951f1735ccca8c6ea4b37029a6fede (patch) | |
tree | c4bc67f8305c07a0fbe31f696b2bede7c96a2ba5 /python/fatcat_tools/workers | |
parent | 0071b77eb7fc20be4af1bbf9b6c0bfcb4e26816a (diff) | |
download | fatcat-e063d2f470951f1735ccca8c6ea4b37029a6fede.tar.gz fatcat-e063d2f470951f1735ccca8c6ea4b37029a6fede.zip |
changelog: limit types
No partial docs (e.g. abstract), too generic components and entries, not
HTML blogs.
Diffstat (limited to 'python/fatcat_tools/workers')
-rw-r--r-- | python/fatcat_tools/workers/changelog.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/python/fatcat_tools/workers/changelog.py b/python/fatcat_tools/workers/changelog.py index fcf3f031..3a49f86e 100644 --- a/python/fatcat_tools/workers/changelog.py +++ b/python/fatcat_tools/workers/changelog.py @@ -153,15 +153,12 @@ class EntityUpdatesWorker(FatcatWorker): doi = ingest_request.get('ext_ids', {}).get('doi') is_document = release.release_type in ( - 'abstract', 'article', 'article-journal', 'article-newspaper', 'book', 'chapter', - 'component', 'editorial', - 'entry', 'interview', 'legal_case', 'legislation', @@ -170,8 +167,6 @@ class EntityUpdatesWorker(FatcatWorker): 'paper-conference', 'patent', 'peer_review', - 'post', - 'post-weblog', 'report', 'retraction', 'review', @@ -179,6 +174,7 @@ class EntityUpdatesWorker(FatcatWorker): 'thesis', ) is_not_pdf = release.release_type in ( + 'component', 'dataset', 'figure', 'graphic', |