From 605bbf772e47262cf95d2afdf0a500a291064b43 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Tue, 1 Jun 2021 16:51:09 +0200 Subject: UnmatchedResolveJournalNames: keep only resolved for now --- python/refcat/tasks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python') diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py index fc9af2b..7bcfd34 100644 --- a/python/refcat/tasks.py +++ b/python/refcat/tasks.py @@ -866,8 +866,8 @@ class UnmatchedMapped(Refcat): class UnmatchedResolveJournalNames(Refcat): """ - Try to resolve journal names so we can match against both abbreviations and - full names. + Try to resolve journal names so we can match against both abbreviations. + Keep only the resolved docs (for now). """ def requires(self): return UnmatchedMapped() @@ -875,7 +875,7 @@ class UnmatchedResolveJournalNames(Refcat): def run(self): output = shellout(""" zstdcat -T0 {input} | - skate-resolve-journal-name -f 2 -B -A {abbrev} | + skate-resolve-journal-name -R -f 2 -B -A {abbrev} | zstd -T0 -c > {output} """, abbrev=settings.JOURNAL_ABBREVIATIONS, -- cgit v1.2.3