aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-06-14 21:04:31 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-06-14 21:04:31 +0200
commiteabe4b712379409288a68abe465b5d8852367d33 (patch)
tree68d1610832f3f45b51471a69cbf7faf528c40187
parent7b8f2900497b6a94600302c5d751aee9ee959e2c (diff)
downloadrefcat-eabe4b712379409288a68abe465b5d8852367d33.tar.gz
refcat-eabe4b712379409288a68abe465b5d8852367d33.zip
add BrefCombined
-rw-r--r--python/refcat/tasks.py7
1 files changed, 6 insertions, 1 deletions
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)