From 581a044fcc49144afe04e11d1d4bb662ad595f6b Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Tue, 11 May 2021 00:00:46 +0200 Subject: skip-on-empty: switch to one indexed column --- python/refcat/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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, -- cgit v1.2.3