Commit 04701e42 authored by Dennis Noll's avatar Dennis Noll
Browse files

[tasks] sync: adds debug param

parent 7f931a6e
......@@ -73,6 +73,7 @@ class SyncFile(ExternalTask):
class SyncSelection(PlotHistsBase, Sync, PoolMap):
files = law.CSVParameter(default=[])
own = luigi.BoolParameter()
debug = luigi.BoolParameter()
n_parallel_max = 32
......@@ -90,12 +91,13 @@ class SyncSelection(PlotHistsBase, Sync, PoolMap):
def requires(self):
req = {}
if self.own:
kwargs = dict(debug=True) if self.debug else dict(explorative=True)
req.update(
{
"own": CoffeaProcessor.req(
self,
processor="SyncSelectionExporter",
explorative=True,
**kwargs,
)
}
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment