Skip to content

Commit 256134e

Browse files
committed
exit ResultsHandler after making TS and params plots if only bkg trials
1 parent cb73dc0 commit 256134e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

flarestack/core/results.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def __init__(
141141
# just make the TS and param distr plots
142142
if len(self.scale_values) == 1 and self.scale_values[0] == 0:
143143
self.make_plots(self.scale_labels[0])
144+
return
144145

145146
# Create fit bias plots
146147
# this expects flux_to_ns to be set

0 commit comments

Comments
 (0)