bec-ipython-client 3.142.7__tar.gz → 3.142.9__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.142.7 → bec_ipython_client-3.142.9}/PKG-INFO +1 -1
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/bec_startup.py +4 -3
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/pyproject.toml +3 -1
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/test_scans_e2e.py +0 -3
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/.gitignore +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/__init__.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/beamline_mixin.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/bec_magics.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/callbacks/__init__.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/callbacks/device_progress.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/callbacks/ipython_live_updates.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/callbacks/live_table.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/callbacks/move_device.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/callbacks/utils.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/high_level_interfaces/__init__.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/high_level_interfaces/bec_hli.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/high_level_interfaces/spec_hli.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/main.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/plugins/SLS/__init__.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/plugins/SLS/sls_info.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/plugins/XTreme/__init__.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/plugins/XTreme/x-treme.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/plugins/__init__.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/plugins/flomni/flomni_config.yaml +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/prettytable.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/progressbar.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/signals.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/demo.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/conftest.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_beamline_mixins.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_bec_client.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_device_progress.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_ipython_live_updates.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_live_table.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_move_callback.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_pretty_table.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_signals.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/conftest.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/_ensure_requirements_container.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/test_actors_e2e.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/test_procedures_e2e.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/test_scans_lib_e2e.py +0 -0
- {bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/test_scans_v4_lib_e2e.py +0 -0
|
@@ -81,13 +81,14 @@ else:
|
|
|
81
81
|
base = os.path.dirname(plugin["module"].__file__)
|
|
82
82
|
with open(os.path.join(base, "post_startup.py"), "r", encoding="utf-8") as file:
|
|
83
83
|
# pylint: disable=exec-used
|
|
84
|
-
|
|
84
|
+
try:
|
|
85
|
+
exec(file.read())
|
|
86
|
+
except Exception as exc:
|
|
87
|
+
logger.error(f"Error running `post startup` for plugin {name}: {exc}")
|
|
85
88
|
|
|
86
89
|
else:
|
|
87
90
|
bec._ip.prompts.status = 1
|
|
88
91
|
|
|
89
|
-
if not bec._hli_funcs:
|
|
90
|
-
bec.load_high_level_interface("bec_hli")
|
|
91
92
|
|
|
92
93
|
if _main_dict["startup_file"]:
|
|
93
94
|
with open(_main_dict["startup_file"], "r", encoding="utf-8") as file:
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "bec_ipython_client"
|
|
7
|
-
version = "3.142.
|
|
7
|
+
version = "3.142.9"
|
|
8
8
|
description = "BEC IPython client"
|
|
9
9
|
requires-python = ">=3.11"
|
|
10
10
|
classifiers = [
|
|
@@ -107,6 +107,8 @@ Homepage = "https://github.com/bec-project/bec"
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
+
|
|
111
|
+
|
|
110
112
|
|
|
111
113
|
|
|
112
114
|
|
|
@@ -424,10 +424,7 @@ def test_scan_observer_repeat(bec_ipython_client_fixture):
|
|
|
424
424
|
continue
|
|
425
425
|
if len(bec.queue.scan_storage.current_scan.live_data) > 0:
|
|
426
426
|
time.sleep(2)
|
|
427
|
-
bec.queue.request_scan_interruption(deferred_pause=False)
|
|
428
|
-
time.sleep(5)
|
|
429
427
|
bec.queue.request_scan_restart()
|
|
430
|
-
bec.queue.request_scan_continuation()
|
|
431
428
|
break
|
|
432
429
|
|
|
433
430
|
scan_number_start = bec.queue.next_scan_number
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/beamline_mixin.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/callbacks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/callbacks/live_table.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/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.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/plugins/SLS/__init__.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/bec_ipython_client/plugins/SLS/sls_info.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/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.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_beamline_mixins.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_bec_client.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_device_progress.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_live_table.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_move_callback.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_pretty_table.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/client_tests/test_signals.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/test_actors_e2e.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/test_procedures_e2e.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/test_scans_lib_e2e.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.142.7 → bec_ipython_client-3.142.9}/tests/end-2-end/test_scans_v4_lib_e2e.py
RENAMED
|
File without changes
|