Skip to content
Snippets Groups Projects

Fix small typo that prevented unblinded eft benchmark plots.

Merged Torben Lange requested to merge eftbenchark-hotfix into master
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -240,7 +240,9 @@ class PlotEFTBenchmarkLimits(EFTBase, POIPlotTask):
@@ -240,7 +240,9 @@ class PlotEFTBenchmarkLimits(EFTBase, POIPlotTask):
# fill data entries as expected by the plot function
# fill data entries as expected by the plot function
data = []
data = []
value_mask = ["limit", "limit_p1", "limit_m1", "limit_p2", "limit_m2", "observed"]
value_mask = ["limit", "limit_p1", "limit_m1", "limit_p2", "limit_m2"]
 
if self.unblinded:
 
value_mask.append("observed")
for bm_name in limit_values["benchmark"]:
for bm_name in limit_values["benchmark"]:
record = limit_values[limit_values["benchmark"] == bm_name][value_mask][0]
record = limit_values[limit_values["benchmark"] == bm_name][value_mask][0]
entry = {
entry = {
Loading