Commit 64e5c4e1 authored by svenja's avatar svenja
Browse files

last law to luigi.BoolParameter

parent 5a8064ad
......@@ -49,6 +49,7 @@ from config.processes import get
law.contrib.load("slack")
class PlotBase(ConfigTask):
# cyclers
scyc = cycler(color=plt.get_cmap("Pastel2").colors) * cycler(hatch=["\\" * 3, "." * 3])
......@@ -713,6 +714,7 @@ class PlotHistsBase(ModelMixin, PGroupMixin, RecipeMixin, PlotBase):
hstack_ratio="bins" if x_label_orig != x_label else None,
)
class PlotFakeNC(PlotHistsBase):
def requires(self):
from tasks.corrections.fake import FakeNonClosureCorrection
......@@ -765,9 +767,10 @@ class PlotFakeNC(PlotHistsBase):
)
self.output().touch()
class PlotProducer(PlotHistsBase, PoolMap):
n_parallel_max = 20
explorative = law.BoolParameter()
explorative = luigi.BoolParameter()
def requires(self):
return self.StatModel.requires(self)
......
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