From fdfa8abfecd829465485a0ee0931ed8208526133 Mon Sep 17 00:00:00 2001 From: Chris Burr <christopher.burr@cern.ch> Date: Thu, 23 Mar 2023 13:19:41 +0100 Subject: [PATCH] Only write FSRs if we have an output file --- Phys/DaVinci/python/DaVinci/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Phys/DaVinci/python/DaVinci/config.py b/Phys/DaVinci/python/DaVinci/config.py index 8684ebfc2..ede4e9894 100644 --- a/Phys/DaVinci/python/DaVinci/config.py +++ b/Phys/DaVinci/python/DaVinci/config.py @@ -177,7 +177,7 @@ def add_davinci_configurables(options, user_algorithms, public_tools): dvMainFlow = apply_filters(options, user_algorithms) fsrAlgs = {} - if options.write_fsr: + if options.write_fsr and options.output_file: if options.simulation: fsrAlgs.update({"GenFSR": define_fsr_writer(options)}) -- GitLab