Commit 6d79c955 authored by Peter Fackeldey's avatar Peter Fackeldey
Browse files

[tasks/combine] use from_json only when multiple analyses are used

parent 475b97ba
......@@ -133,7 +133,10 @@ class BlindingMixin:
class DatacardProvider(BlindingMixin, CombinationTask):
from_json = True # luigi.BoolParameter() once order is fixed, or even False
@property
def from_json(self):
# order uniqueness workaround
return len(self.analyses) > 1
def __init__(self, *args, **kwargs):
super().__init__(*args, **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