From a4b89bbd7d3e99615ea1612fd990dd22770a5063 Mon Sep 17 00:00:00 2001 From: appel_c Date: Fri, 23 Jan 2026 13:11:35 +0100 Subject: [PATCH] w --- csaxs_bec/bec_ipython_client/plugins/tool_box/debug_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csaxs_bec/bec_ipython_client/plugins/tool_box/debug_tools.py b/csaxs_bec/bec_ipython_client/plugins/tool_box/debug_tools.py index 3399380..fad4461 100644 --- a/csaxs_bec/bec_ipython_client/plugins/tool_box/debug_tools.py +++ b/csaxs_bec/bec_ipython_client/plugins/tool_box/debug_tools.py @@ -165,8 +165,8 @@ class DebugTools: mcs_data = scan_data.devices.mcs print(mcs_data) - shape = mcs_data._info["mca0"]["value"]["shape"] - expected_shape = (cycles, burst_frames) + shape = mcs_data._info["mcs_mca_mca1"]["value"]["shape"] + expected_shape = (cycles * burst_frames,) # Assert will raise an error if the shapes do not match assert ( shape == expected_shape