From 555f5b7cb5251671cb8ff96b0e240b6c35fe5cb5 Mon Sep 17 00:00:00 2001 From: appel_c Date: Mon, 14 Apr 2025 13:24:04 +0200 Subject: [PATCH] wip fix asyn plotting --- tests/end-2-end/test_plotting_framework_e2e.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/tests/end-2-end/test_plotting_framework_e2e.py b/tests/end-2-end/test_plotting_framework_e2e.py index 1a01a1d8..f9dd7f2e 100644 --- a/tests/end-2-end/test_plotting_framework_e2e.py +++ b/tests/end-2-end/test_plotting_framework_e2e.py @@ -138,21 +138,7 @@ def test_async_plotting(qtbot, bec_client_lib, connected_client_gui_obj): qtbot.waitUntil(_wait_for_scan_in_history, timeout=7000) # Get all data - msgs = client.connector.xrange( - MessageEndpoints.device_async_readback( - device=dev.waveform.name, scan_id=status.scan.scan_id - ), - min="-", - max="+", - ) - - # FIXME Issue #487 - waveform_data = [] - for msg in msgs: - waveform_data = np.hstack( - [waveform_data, msg["data"].signals["waveform_waveform"]["value"]] - ) - + waveform_data = client.history[-1].devices.waveform.waveform_waveform.read()["value"] # check plotted data x_data, y_data = curve.get_data() assert np.array_equal(x_data, np.linspace(0, len(y_data) - 1, len(y_data)))