aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/work_pipeline.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-28 15:55:03 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-28 15:55:03 -0700
commit21567b73733748d96324bdda1fedb987c37a2427 (patch)
tree0d4b58a8cd9e0032f130a92215532fda39d23e7e /fatcat_scholar/work_pipeline.py
parent54c1c48c53d313b0fa42578091b810d0d043225d (diff)
downloadfatcat-scholar-21567b73733748d96324bdda1fedb987c37a2427.tar.gz
fatcat-scholar-21567b73733748d96324bdda1fedb987c37a2427.zip
work pipeline comparison fix
Diffstat (limited to 'fatcat_scholar/work_pipeline.py')
-rw-r--r--fatcat_scholar/work_pipeline.py3
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,
),
)