From 21567b73733748d96324bdda1fedb987c37a2427 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 28 Oct 2020 15:55:03 -0700 Subject: work pipeline comparison fix --- fatcat_scholar/work_pipeline.py | 3 +++ 1 file changed, 3 insertions(+) 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, ), ) -- cgit v1.2.3