From 972e56969e8bdd67f1fb19525f1bb25d3307f021 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 15 Oct 2025 12:45:39 +0200 Subject: [PATCH] fix print to FileHandler --- dap/accumulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dap/accumulator.py b/dap/accumulator.py index 43e4a88..689d715 100644 --- a/dap/accumulator.py +++ b/dap/accumulator.py @@ -51,7 +51,7 @@ def accumulate(accumulator_host, accumulator_port): res_laser_on = results.get("laser_on", False) res_roi_intensities = results.get("roi_intensities", []) - print(pulse_id, res_is_good_frame, res_is_hit_frame, res_number_of_spots, res_laser_on, *res_roi_intensities, file=output_dap) + print(pulse_id, res_is_good_frame, res_is_hit_frame, res_number_of_spots, res_laser_on, *res_roi_intensities, file=output_dap.file)