aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-06-01 16:51:09 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-06-01 16:51:09 +0200
commit605bbf772e47262cf95d2afdf0a500a291064b43 (patch)
tree7318898e7ee098c71a405ee3935ae74d6ca9cd43 /python
parent2f8438dd054fd055a360fd38df40920ce517bb3f (diff)
downloadrefcat-605bbf772e47262cf95d2afdf0a500a291064b43.tar.gz
refcat-605bbf772e47262cf95d2afdf0a500a291064b43.zip
UnmatchedResolveJournalNames: keep only resolved for now
Diffstat (limited to 'python')
-rw-r--r--python/refcat/tasks.py6
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,