diff --git a/pyproject.toml b/pyproject.toml index bcf6171..d2f18de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ classifiers = [ "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering", ] -dependencies = ["numpy", "bec_lib", "h5py", "ophyd_devices"] +dependencies = ["numpy", "scipy", "bec_lib", "h5py", "ophyd_devices"] [project.optional-dependencies] dev = [ diff --git a/tests/tests_scans/test_mono_bragg_scans.py b/tests/tests_scans/test_mono_bragg_scans.py index fa94b51..bcba4f5 100644 --- a/tests/tests_scans/test_mono_bragg_scans.py +++ b/tests/tests_scans/test_mono_bragg_scans.py @@ -118,7 +118,7 @@ def test_xas_simple_scan(): parameter={"type": "read", "group": "primary", "wait_group": "readout_primary"}, ), DeviceInstructionMessage( - metadata={"readout_priority": "monitored", "RID": "my_test_request_id", "point_id": 0}, + metadata={"readout_priority": "monitored", "RID": "my_test_request_id", "point_id": 1}, device=None, action="read", parameter={"group": "primary", "wait_group": "readout_primary"}, @@ -279,7 +279,7 @@ def test_xas_simple_scan_with_xrd(): parameter={"type": "read", "group": "primary", "wait_group": "readout_primary"}, ), DeviceInstructionMessage( - metadata={"readout_priority": "monitored", "RID": "my_test_request_id", "point_id": 0}, + metadata={"readout_priority": "monitored", "RID": "my_test_request_id", "point_id": 1}, device=None, action="read", parameter={"group": "primary", "wait_group": "readout_primary"}, @@ -420,7 +420,7 @@ def test_xas_advanced_scan(): parameter={"type": "read", "group": "primary", "wait_group": "readout_primary"}, ), DeviceInstructionMessage( - metadata={"readout_priority": "monitored", "DIID": 9, "RID": "my_test_request_id", "point_id": 0}, + metadata={"readout_priority": "monitored", "DIID": 9, "RID": "my_test_request_id", "point_id": 1}, device=None, action="read", parameter={"group": "primary", "wait_group": "readout_primary"}, @@ -563,7 +563,7 @@ def test_xas_advanced_scan_with_xrd(): parameter={}, ), DeviceInstructionMessage( - metadata={"readout_priority": "monitored", "DIID": 7, "RID": "my_test_request_id", "point_id": 1}, + metadata={"readout_priority": "monitored", "DIID": 7, "RID": "my_test_request_id", "point_id": 0}, device=None, action="read", parameter={"group": "primary", "wait_group": "readout_primary"},