From eabe4b712379409288a68abe465b5d8852367d33 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Mon, 14 Jun 2021 21:04:31 +0200 Subject: add BrefCombined --- python/refcat/tasks.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py index 61be606..efb683e 100644 --- a/python/refcat/tasks.py +++ b/python/refcat/tasks.py @@ -1287,7 +1287,12 @@ class BrefCombined(Refcat): } def run(self): - raise NotImplementedError('todo') + output = shellout(""" + skate-reduce -m unmatched -B <(zstdcat -T0 {matched}) -R <(zstdcat -T0 {refs}) > {output} + """, + matched=self.input().get("matched").path, + refs=self.input().get("refs").path) + luigi.LocalTarget(output).move(self.output().path) def output(self): return luigi.LocalTarget(path=self.path(ext="json.zst"), format=Zstd) -- cgit v1.2.3