diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-10 11:05:45 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-10 11:05:45 +0200 |
commit | 4afed4016f0388eefd52bdc21a162ddeb992a1c4 (patch) | |
tree | c9b28a45c5aedac8c840cfc997417916273632eb /python | |
parent | 9bd0df1164893ae344b33cc5461686aa02478b65 (diff) | |
download | refcat-4afed4016f0388eefd52bdc21a162ddeb992a1c4.tar.gz refcat-4afed4016f0388eefd52bdc21a162ddeb992a1c4.zip |
tasks: adjust tmpdir
Diffstat (limited to 'python')
-rw-r--r-- | python/refcat/tasks.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |