diff options
-rw-r--r-- | python/refcat/tasks.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py index fbed8ca..d1084c9 100644 --- a/python/refcat/tasks.py +++ b/python/refcat/tasks.py @@ -1438,11 +1438,13 @@ class BiblioRefWikiDOISortedKeys(Refcat): return WikipediaCitationsMinimalDataset() def run(self): - output = shellout("cat {input} | + output = shellout(""" + cat {input} | skate-biblioref-from-wikipedia | LC_ALL=C sort -s 10% -k2,2 | zstd -T0 -c > {output} """, input=self.input().path) + luigi.LocalTarget(output).move(self.output().path) def output(self): return luigi.LocalTarget(path=self.path(ext="tsv.zst"), format=Zstd) |