diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-11 00:00:46 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-11 00:00:46 +0200 |
commit | 581a044fcc49144afe04e11d1d4bb662ad595f6b (patch) | |
tree | 37020c5d4372ea212f4d5ec8dc39a4d399bd08cc /python | |
parent | 4fda7f72a87a863641138126c0b0e117a9b93d7b (diff) | |
download | refcat-581a044fcc49144afe04e11d1d4bb662ad595f6b.tar.gz refcat-581a044fcc49144afe04e11d1d4bb662ad595f6b.zip |
skip-on-empty: switch to one indexed column
Diffstat (limited to 'python')
-rw-r--r-- | python/refcat/tasks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py index fbe7b1a..77690c5 100644 --- a/python/refcat/tasks.py +++ b/python/refcat/tasks.py @@ -305,8 +305,8 @@ class RefsDOI(Refcat): def run(self): output = shellout(""" zstdcat -T0 {input} | - skate-map -m ff -x biblio.doi | - LC_ALL=C sort -T {tmpdir} -k2,2 -S25% --parallel 4 | + skate-map -m ff -x biblio.doi -skip-on-empty 1 | + LC_ALL=C sort -T {tmpdir} -k1,1 -S25% --parallel 4 | zstd -T0 -c > {output} """, n=self.n, |