bec-widgets 0.94.0__py3-none-any.whl → 0.94.1__py3-none-any.whl
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.
- CHANGELOG.md +6 -6
- PKG-INFO +1 -1
- bec_widgets/utils/bec_dispatcher.py +3 -3
- {bec_widgets-0.94.0.dist-info → bec_widgets-0.94.1.dist-info}/METADATA +1 -1
- {bec_widgets-0.94.0.dist-info → bec_widgets-0.94.1.dist-info}/RECORD +10 -10
- pyproject.toml +1 -1
- tests/unit_tests/test_bec_dispatcher.py +2 -0
- {bec_widgets-0.94.0.dist-info → bec_widgets-0.94.1.dist-info}/WHEEL +0 -0
- {bec_widgets-0.94.0.dist-info → bec_widgets-0.94.1.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.94.0.dist-info → bec_widgets-0.94.1.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v0.94.1 (2024-08-12)
|
4
|
+
|
5
|
+
### Fix
|
6
|
+
|
7
|
+
* fix: issue #292, wrong key was used to clean _slots internal dictionary ([`93d3977`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/93d397759c756397604ebff5e24f3a580be8620d))
|
8
|
+
|
3
9
|
## v0.94.0 (2024-08-08)
|
4
10
|
|
5
11
|
### Feature
|
@@ -141,9 +147,3 @@ This reverts commit fd6ae91993a23a7b8dbb2cf3c4b7c3eda6d2b0f6 ([`5aad401`](https:
|
|
141
147
|
* refactor: renamed DeviceMonitor2DMessage ([`4be6fd6`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/4be6fd6b83ea1048f16310f7d2bbe777b13b245e))
|
142
148
|
|
143
149
|
* refactor: rename device_monitor to device_monitor_2d ([`714e1e1`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/714e1e139e0033d2725fefb636c419ca137a68c6))
|
144
|
-
|
145
|
-
## v0.92.0 (2024-07-24)
|
146
|
-
|
147
|
-
### Fix
|
148
|
-
|
149
|
-
* fix(dock): custom label can be created closable ([`4457ef2`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/4457ef2147e21b856c9dcaf63c81ba98002dcaf1))
|
PKG-INFO
CHANGED
@@ -162,9 +162,9 @@ class BECDispatcher:
|
|
162
162
|
return
|
163
163
|
self.client.connector.unregister(topics, cb=connected_slot)
|
164
164
|
topics_str, _ = self.client.connector._convert_endpointinfo(topics)
|
165
|
-
self._slots[
|
166
|
-
if not self._slots[
|
167
|
-
del self._slots[
|
165
|
+
self._slots[connected_slot].difference_update(set(topics_str))
|
166
|
+
if not self._slots[connected_slot]:
|
167
|
+
del self._slots[connected_slot]
|
168
168
|
|
169
169
|
def disconnect_topics(self, topics: Union[str, list]):
|
170
170
|
self.client.connector.unregister(topics)
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=BtKhZI3dhK09En1BfpglYi-ZJwG6ZdC-iJr7kXFVfCg,8346
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=oCzB0EpdV8HR6KkMTqeIRWoqFb6IddSxbiHM_4Lbl8c,6533
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=BmrzIa7-lpELNsnzboeX4nA6maDnRy0LI_Ab3FieNQE,1307
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=AAsfwyRhG1HwZKWguyvUld8nvCNQ5bfXLInKw0KMpDo,2356
|
10
10
|
.git_hooks/pre-commit,sha256=n3RofIZHJl8zfJJIUomcMyYGFi_rwq4CC19z0snz3FI,286
|
11
11
|
.gitlab/issue_templates/bug_report_template.md,sha256=gAuyEwl7XlnebBrkiJ9AqffSNOywmr8vygUFWKTuQeI,386
|
12
12
|
.gitlab/issue_templates/documentation_update_template.md,sha256=FHLdb3TS_D9aL4CYZCjyXSulbaW5mrN2CmwTaeLPbNw,860
|
@@ -109,7 +109,7 @@ bec_widgets/qt_utils/toolbar.py,sha256=89WddOXPePby2CICUumdN_K_3DBgZPCR8HWUJAwrh
|
|
109
109
|
bec_widgets/utils/__init__.py,sha256=1930ji1Jj6dVuY81Wd2kYBhHYNV-2R0bN_L4o9zBj1U,533
|
110
110
|
bec_widgets/utils/bec_connector.py,sha256=SivHKXVyNVqeu3kCXYEPpbleTVw8g1cW0FKq1QrQgco,9987
|
111
111
|
bec_widgets/utils/bec_designer.py,sha256=ak3G8FdojUPjVBBwdPXw7tN5P2Uxr-SSoQt394jXeAA,4308
|
112
|
-
bec_widgets/utils/bec_dispatcher.py,sha256=
|
112
|
+
bec_widgets/utils/bec_dispatcher.py,sha256=l2NRuiHGA-tr3gwJXSk7h5ZBKDuDqP8gmJKHJFc_n9I,6225
|
113
113
|
bec_widgets/utils/bec_table.py,sha256=nA2b8ukSeUfquFMAxGrUVOqdrzMoDYD6O_4EYbOG2zk,717
|
114
114
|
bec_widgets/utils/bec_widget.py,sha256=Bo2v1aP7rgSAQajW8GBJbI3iovTn_hGCsmeFMo7bT10,707
|
115
115
|
bec_widgets/utils/colors.py,sha256=hNIi99EpMv3t3hTJIL2jBe5nzh5f2fuCyEKXEPWSQSc,10501
|
@@ -333,7 +333,7 @@ tests/unit_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
333
333
|
tests/unit_tests/client_mocks.py,sha256=4pS4KvvFGY9hjphds9i-GoIjVWVkax4XpDnVp6Mctfw,5275
|
334
334
|
tests/unit_tests/conftest.py,sha256=EE5RX_xR50ELJPgT2kny9rM1NCmCRO22sd_L9fvVSEk,1917
|
335
335
|
tests/unit_tests/test_bec_connector.py,sha256=5uqBfjgMeOlGvqJlFbytxEpZ1El7_Y2q8fZHh4GvtD8,2478
|
336
|
-
tests/unit_tests/test_bec_dispatcher.py,sha256=
|
336
|
+
tests/unit_tests/test_bec_dispatcher.py,sha256=uHKMDc2112Q7XY5GkaeV_uGzsjHCoOa7u-MpR-Y-sJA,4078
|
337
337
|
tests/unit_tests/test_bec_dock.py,sha256=iZcyF6tjNHstFx0rtbI8zhvFvgQiOpb_CuOF-L6Dipc,5610
|
338
338
|
tests/unit_tests/test_bec_figure.py,sha256=oTlwHgDSrE4QRN3i9ZRM3QT2Xt8jfOyUTNxIZqZ4WKQ,9780
|
339
339
|
tests/unit_tests/test_bec_image.py,sha256=Bc9eaLDk_9MfVFC6BZ-dymf-bQZg_CHL810nssXsj_k,2814
|
@@ -376,8 +376,8 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
376
376
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
377
377
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
378
378
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
379
|
-
bec_widgets-0.94.
|
380
|
-
bec_widgets-0.94.
|
381
|
-
bec_widgets-0.94.
|
382
|
-
bec_widgets-0.94.
|
383
|
-
bec_widgets-0.94.
|
379
|
+
bec_widgets-0.94.1.dist-info/METADATA,sha256=BmrzIa7-lpELNsnzboeX4nA6maDnRy0LI_Ab3FieNQE,1307
|
380
|
+
bec_widgets-0.94.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
381
|
+
bec_widgets-0.94.1.dist-info/entry_points.txt,sha256=3otEkCdDB9LZJuBLzG4pFLK5Di0CVybN_12IsZrQ-58,166
|
382
|
+
bec_widgets-0.94.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
383
|
+
bec_widgets-0.94.1.dist-info/RECORD,,
|
pyproject.toml
CHANGED
@@ -92,7 +92,9 @@ def test_dispatcher_2_cb_same_topic(bec_dispatcher_w_connector, qtbot, send_msg_
|
|
92
92
|
bec_dispatcher.connect_slot(cb1, "topic1")
|
93
93
|
bec_dispatcher.connect_slot(cb2, "topic1")
|
94
94
|
assert len(bec_dispatcher.client.connector._topics_cb) == 1
|
95
|
+
assert len(bec_dispatcher._slots) == 2
|
95
96
|
bec_dispatcher.disconnect_slot(cb1, "topic1")
|
97
|
+
assert len(bec_dispatcher._slots) == 1
|
96
98
|
|
97
99
|
send_msg_event.set()
|
98
100
|
qtbot.wait(10)
|
File without changes
|
File without changes
|
File without changes
|