diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-01 16:51:09 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-01 16:51:09 +0200 |
commit | 605bbf772e47262cf95d2afdf0a500a291064b43 (patch) | |
tree | 7318898e7ee098c71a405ee3935ae74d6ca9cd43 /python | |
parent | 2f8438dd054fd055a360fd38df40920ce517bb3f (diff) | |
download | refcat-605bbf772e47262cf95d2afdf0a500a291064b43.tar.gz refcat-605bbf772e47262cf95d2afdf0a500a291064b43.zip |
UnmatchedResolveJournalNames: keep only resolved for now
Diffstat (limited to 'python')
-rw-r--r-- | python/refcat/tasks.py | 6 |
1 files changed, 3 insertions, 3 deletions
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, |