From 4afed4016f0388eefd52bdc21a162ddeb992a1c4 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 10 Jun 2021 11:05:45 +0200 Subject: tasks: adjust tmpdir --- python/refcat/tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py index 0b62564..90c3073 100644 --- a/python/refcat/tasks.py +++ b/python/refcat/tasks.py @@ -1237,8 +1237,9 @@ class BrefSortedByWorkID(Refcat): shellout(""" zstdcat -T0 {bref} | skate-map -B -m ff -x source_work_ident | - LC_ALL=C sort -S25% -k1,1 | zstd -c -T0 > {output} + LC_ALL=C sort -T {tmpdir} -S25% -k1,1 --parallel 4 | zstd -c -T0 > {output} """, + tmpdir=self.tmpdir, bref=self.input().path) luigi.LocalTarget(tmpf).move(self.output().path) -- cgit v1.2.3