diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-28 15:55:03 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-28 15:55:03 -0700 |
commit | 21567b73733748d96324bdda1fedb987c37a2427 (patch) | |
tree | 0d4b58a8cd9e0032f130a92215532fda39d23e7e | |
parent | 54c1c48c53d313b0fa42578091b810d0d043225d (diff) | |
download | fatcat-scholar-21567b73733748d96324bdda1fedb987c37a2427.tar.gz fatcat-scholar-21567b73733748d96324bdda1fedb987c37a2427.zip |
work pipeline comparison fix
-rw-r--r-- | fatcat_scholar/work_pipeline.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fatcat_scholar/work_pipeline.py b/fatcat_scholar/work_pipeline.py index 715be1a..d4bd2fb 100644 --- a/fatcat_scholar/work_pipeline.py +++ b/fatcat_scholar/work_pipeline.py @@ -70,8 +70,11 @@ def fulltext_pref_list(releases: List[ReleaseEntity]) -> List[str]: r.ext_ids.pmid is not None, r.release_stage == "submitted", r.release_type is not None, + r.release_year is not None, r.release_year, + r.release_date is not None, r.release_date, + r.version is not None, r.version, ), ) |