bec-ipython-client 3.147.0__tar.gz → 3.148.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/PKG-INFO +1 -1
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/pyproject.toml +3 -1
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/test_scans_e2e.py +5 -11
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/.gitignore +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/__init__.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/beamline_mixin.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/bec_magics.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/bec_startup.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/callbacks/__init__.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/callbacks/device_progress.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/callbacks/ipython_live_updates.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/callbacks/live_table.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/callbacks/move_device.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/callbacks/utils.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/high_level_interfaces/__init__.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/high_level_interfaces/bec_hli.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/high_level_interfaces/spec_hli.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/main.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/plugins/SLS/__init__.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/plugins/SLS/sls_info.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/plugins/XTreme/__init__.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/plugins/XTreme/x-treme.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/plugins/__init__.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/plugins/flomni/flomni_config.yaml +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/prettytable.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/progressbar.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/signals.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/demo.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/conftest.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_beamline_mixins.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_bec_client.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_device_progress.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_ipython_live_updates.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_live_table.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_move_callback.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_pretty_table.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_signals.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/conftest.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/_ensure_requirements_container.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/test_actors_e2e.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/test_procedures_e2e.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/test_scans_lib_e2e.py +0 -0
- {bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/test_scans_v4_lib_e2e.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "bec_ipython_client"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.148.0"
|
|
8
8
|
description = "BEC IPython client"
|
|
9
9
|
requires-python = ">=3.11"
|
|
10
10
|
classifiers = [
|
|
@@ -119,6 +119,8 @@ Homepage = "https://github.com/bec-project/bec"
|
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
|
|
122
|
+
|
|
123
|
+
|
|
122
124
|
|
|
123
125
|
|
|
124
126
|
|
|
@@ -749,29 +749,23 @@ def test_update_config(bec_ipython_client_fixture):
|
|
|
749
749
|
|
|
750
750
|
|
|
751
751
|
@pytest.mark.timeout(100)
|
|
752
|
-
def
|
|
752
|
+
def test_device_preview(bec_ipython_client_fixture):
|
|
753
753
|
bec = bec_ipython_client_fixture
|
|
754
|
-
bec.metadata.update({"unit_test": "
|
|
754
|
+
bec.metadata.update({"unit_test": "test_device_preview"})
|
|
755
755
|
dev = bec.device_manager.devices
|
|
756
756
|
scans = bec.scans
|
|
757
757
|
dev.eiger.image_shape.set([10, 10])
|
|
758
758
|
s1 = scans.line_scan(dev.samx, 0, 1, steps=10, relative=False)
|
|
759
759
|
s1.wait()
|
|
760
|
-
data = bec.
|
|
761
|
-
assert data[
|
|
762
|
-
s2 = scans.line_scan(dev.samx, 0, 1, steps=5, relative=False)
|
|
763
|
-
s2.wait()
|
|
764
|
-
data = bec.device_monitor.get_data_for_scan("eiger", s1.scan.scan_id)
|
|
765
|
-
assert len(data) == 10
|
|
766
|
-
data = bec.device_monitor.get_data_for_scan("samx", s1.scan.scan_id)
|
|
767
|
-
assert data is None
|
|
760
|
+
data = bec.connector.get_last(MessageEndpoints.device_preview("eiger", "preview"))
|
|
761
|
+
assert data["data"].data.shape == (10, 10)
|
|
768
762
|
|
|
769
763
|
|
|
770
764
|
@pytest.mark.timeout(100)
|
|
771
765
|
def test_async_data(bec_ipython_client_fixture):
|
|
772
766
|
"""Test "extend" and "append" for async data and their expected return values"""
|
|
773
767
|
bec = bec_ipython_client_fixture
|
|
774
|
-
bec.metadata.update({"unit_test": "
|
|
768
|
+
bec.metadata.update({"unit_test": "test_async_data"})
|
|
775
769
|
dev = bec.device_manager.devices
|
|
776
770
|
scans = bec.scans
|
|
777
771
|
# Set amplitude to 100
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/beamline_mixin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/callbacks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/callbacks/live_table.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/callbacks/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/plugins/SLS/__init__.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/plugins/SLS/sls_info.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/bec_ipython_client/plugins/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_beamline_mixins.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_bec_client.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_device_progress.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_live_table.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_move_callback.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_pretty_table.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/client_tests/test_signals.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/test_actors_e2e.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/test_procedures_e2e.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/test_scans_lib_e2e.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.147.0 → bec_ipython_client-3.148.0}/tests/end-2-end/test_scans_v4_lib_e2e.py
RENAMED
|
File without changes
|