lima2.client 2.0rc2__tar.gz → 2.0.2__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.
- {lima2_client-2.0rc2/src/lima2.client.egg-info → lima2_client-2.0.2}/PKG-INFO +1 -1
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/detector.py +6 -6
- {lima2_client-2.0rc2 → lima2_client-2.0.2/src/lima2.client.egg-info}/PKG-INFO +1 -1
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/LICENSE +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/README.md +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/pyproject.toml +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/setup.cfg +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/__init__.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/channel.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/client.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/convert.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/devencoded/__init__.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/devencoded/dense_frame.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/devencoded/exception.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/devencoded/sparse_frame.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/devencoded/sparse_frame_with_background.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/devencoded/structured_array.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/pipeline.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/pipelines/__init__.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/pipelines/legacy.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/pipelines/smx.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/pipelines/xpcs.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/progress_counter.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/py.typed +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/shell.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/state_machine.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/topology.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/client/utils.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/server/__init__.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/server/control.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/server/receiver.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2/server/timer.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2.client.egg-info/SOURCES.txt +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2.client.egg-info/dependency_links.txt +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2.client.egg-info/entry_points.txt +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2.client.egg-info/requires.txt +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/src/lima2.client.egg-info/top_level.txt +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_client.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_detector.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_import.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_pipeline.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_pipelines.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_progress_counter.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_state_machine.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_timer.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_topology.py +0 -0
- {lima2_client-2.0rc2 → lima2_client-2.0.2}/tests/test_utils.py +0 -0
|
@@ -68,12 +68,6 @@ class Detector:
|
|
|
68
68
|
# Preconditions
|
|
69
69
|
if not recv_devs:
|
|
70
70
|
raise ValueError("Must provide at least one receiver")
|
|
71
|
-
elif len(recv_devs) > 1:
|
|
72
|
-
rank_order = [d.recv_rank for d in recv_devs]
|
|
73
|
-
if not all([r == i for i, r in enumerate(rank_order)]):
|
|
74
|
-
raise ValueError(
|
|
75
|
-
f"Receiver MPI rank order does not match client order: {rank_order}"
|
|
76
|
-
)
|
|
77
71
|
|
|
78
72
|
self.__ctrl = ctrl_dev
|
|
79
73
|
self.__recvs = list(recv_devs)
|
|
@@ -85,6 +79,12 @@ class Detector:
|
|
|
85
79
|
"Failed to ping Tango servers (are the devices running?)"
|
|
86
80
|
) from e
|
|
87
81
|
|
|
82
|
+
rank_order = [d.recv_rank for d in recv_devs]
|
|
83
|
+
if not all([r == i for i, r in enumerate(rank_order)]):
|
|
84
|
+
raise ValueError(
|
|
85
|
+
f"Receiver MPI rank order does not match client order: {rank_order}"
|
|
86
|
+
)
|
|
87
|
+
|
|
88
88
|
self.__params_schema = None
|
|
89
89
|
self.__fsm = fsm.StateMachine(self.__ctrl, self.__recvs)
|
|
90
90
|
self.__try_sync_hard()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|