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