mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-29 12:37:57 +01:00
fix: test e2e dap wait_for_fit
This commit is contained in:
1 parent
e3b5e338bf
commit
b2f7d3c5f3
1 file changed
+2
@@ -183,6 +183,8 @@ def test_dap_rpc(rpc_server_figure, bec_client_lib, qtbot):
|
||||
def wait_for_fit():
|
||||
dap_curve = plt.get_curve("bpm4i-bpm4i-GaussianModel")
|
||||
fit_params = dap_curve.dap_params
|
||||
if fit_params is None:
|
||||
return False
|
||||
print(fit_params)
|
||||
return np.isclose(fit_params["center"], 5, atol=0.5)
|
||||
|
||||
|
||||
Reference in new issue
Block a user