bec-widgets 0.64.1__py3-none-any.whl → 0.64.2__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 -8
- PKG-INFO +1 -1
- bec_widgets/cli/client_utils.py +8 -1
- bec_widgets/cli/server.py +2 -2
- {bec_widgets-0.64.1.dist-info → bec_widgets-0.64.2.dist-info}/METADATA +1 -1
- {bec_widgets-0.64.1.dist-info → bec_widgets-0.64.2.dist-info}/RECORD +10 -10
- pyproject.toml +1 -1
- {bec_widgets-0.64.1.dist-info → bec_widgets-0.64.2.dist-info}/WHEEL +0 -0
- {bec_widgets-0.64.1.dist-info → bec_widgets-0.64.2.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.64.1.dist-info → bec_widgets-0.64.2.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v0.64.2 (2024-06-19)
|
4
|
+
|
5
|
+
### Fix
|
6
|
+
|
7
|
+
* fix(client_utils): added close rpc command to shutdown of gui from bec_ipython_client ([`e5a7d47`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/e5a7d47b21cbf066f740f1d11d7c9ea7c70f3080))
|
8
|
+
|
3
9
|
## v0.64.1 (2024-06-19)
|
4
10
|
|
5
11
|
### Fix
|
@@ -155,16 +161,8 @@ This reverts commit abc6caa2d0b6141dfbe1f3d025f78ae14deddcb3 ([`fe04dd8`](https:
|
|
155
161
|
|
156
162
|
## v0.59.0 (2024-06-07)
|
157
163
|
|
158
|
-
### Build
|
159
|
-
|
160
|
-
* build: added webengine dependency ([`d56c549`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/d56c5493cd28f379d04a79d90b01c73b0760da1b))
|
161
|
-
|
162
164
|
### Ci
|
163
165
|
|
164
166
|
* ci: merged additional tests to parallel matrix job ([`178fe4d`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/178fe4d2da3a959f7cd90e7ea0f47314dc1ef4ed))
|
165
167
|
|
166
168
|
* ci: added webengine dependencies ([`2d79ef8`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/2d79ef8fe5e52c61f4a78782770377cd6b41958b))
|
167
|
-
|
168
|
-
### Documentation
|
169
|
-
|
170
|
-
* docs: added website docs ([`cf6e5a4`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/cf6e5a40fc8320e9898a446a5bf14b77e94ef013))
|
PKG-INFO
CHANGED
bec_widgets/cli/client_utils.py
CHANGED
@@ -173,8 +173,15 @@ class BECGuiClientMixin:
|
|
173
173
|
|
174
174
|
def close(self) -> None:
|
175
175
|
"""
|
176
|
-
Close the
|
176
|
+
Close the gui window.
|
177
177
|
"""
|
178
|
+
if self._process is None:
|
179
|
+
return
|
180
|
+
|
181
|
+
self._run_rpc("close", (), wait_for_rpc_response=False)
|
182
|
+
while self.gui_is_alive():
|
183
|
+
time.sleep(0.2)
|
184
|
+
|
178
185
|
self._client.shutdown()
|
179
186
|
if self._process:
|
180
187
|
self._process.terminate()
|
bec_widgets/cli/server.py
CHANGED
@@ -40,7 +40,7 @@ class BECWidgetsCLIServer:
|
|
40
40
|
self._shutdown_event = False
|
41
41
|
self._heartbeat_timer = QTimer()
|
42
42
|
self._heartbeat_timer.timeout.connect(self.emit_heartbeat)
|
43
|
-
self._heartbeat_timer.start(200)
|
43
|
+
self._heartbeat_timer.start(200)
|
44
44
|
|
45
45
|
def on_rpc_update(self, msg: dict, metadata: dict):
|
46
46
|
request_id = metadata.get("request_id")
|
@@ -105,7 +105,7 @@ class BECWidgetsCLIServer:
|
|
105
105
|
self.client.connector.set(
|
106
106
|
MessageEndpoints.gui_heartbeat(self.gui_id),
|
107
107
|
messages.StatusMessage(name=self.gui_id, status=1, info={}),
|
108
|
-
expire=
|
108
|
+
expire=1,
|
109
109
|
)
|
110
110
|
|
111
111
|
def shutdown(self): # TODO not sure if needed when cleanup is done at level of BECConnector
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=RnYDz4zKXjlqltTryprlB1s5vLXxI2-seW-Vb70NNF0,8162
|
3
3
|
.pylintrc,sha256=OstrgmEyP0smNFBKoIN5_26-UmNZgMHnbjvAWX0UrLs,18535
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=gdWwJkkkabxh0__ronVR5oEcKdBLe48mB-n7nnbdpGM,7226
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=Z6RgAVNJsHWfv4TE1hUqn_18H1piEkQJ-6d3YhaF9C8,1302
|
8
8
|
README.md,sha256=y4jB6wvArS7N8_iTbKWnSM_oRAqLA2GqgzUR-FMh5sU,2645
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=8rX9Uc6IOFHLtleUKw-gtujmtl91yE17M62S8LiYvwg,2162
|
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
|
@@ -18,11 +18,11 @@ bec_widgets/assets/terminal_icon.png,sha256=bJl7Tft4Fi2uxvuXI8o14uMHnI9eAWKSU2uf
|
|
18
18
|
bec_widgets/cli/__init__.py,sha256=d0Q6Fn44e7wFfLabDOBxpcJ1DPKWlFunGYDUBmO-4hA,22
|
19
19
|
bec_widgets/cli/auto_updates.py,sha256=DyBV3HnjMSH-cvVkYNcDiYKVf0Xut4Qy2qGQqkW47Bw,4833
|
20
20
|
bec_widgets/cli/client.py,sha256=GJRzys0DVHQp8X9QxociTrshPm4CvaPtEprxWEpEKCs,56446
|
21
|
-
bec_widgets/cli/client_utils.py,sha256=
|
21
|
+
bec_widgets/cli/client_utils.py,sha256=D076XKwcukKBKknd11B1UyOcQN_9sN7ZKMVttyCxS9Q,11586
|
22
22
|
bec_widgets/cli/generate_cli.py,sha256=Bi8HxHhge1I87vbdYHZUZiZwvbB-OSkLYS5Xfmwiz9M,4922
|
23
23
|
bec_widgets/cli/rpc_register.py,sha256=QxXUZu5XNg00Yf5O3UHWOXg3-f_pzKjjoZYMOa-MOJc,2216
|
24
24
|
bec_widgets/cli/rpc_wigdet_handler.py,sha256=1oE2TSbwQdfLEaZiscyDX2eExHsenp2BF5Lwy8PE6LA,1118
|
25
|
-
bec_widgets/cli/server.py,sha256=
|
25
|
+
bec_widgets/cli/server.py,sha256=4sigviIyJgZOgikWHc1X998vWAWayKF6S61oAY_mVDQ,5727
|
26
26
|
bec_widgets/examples/__init__.py,sha256=WWQ0cu7m8sA4Ehy-DWdTIqSISjaHsbxhsNmNrMnhDZU,202
|
27
27
|
bec_widgets/examples/jupyter_console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
28
28
|
bec_widgets/examples/jupyter_console/jupyter_console_window.py,sha256=FXf0q7oz9GyJSct8PAgeOalzNnIJjApiaRvNfXsZPs0,5345
|
@@ -171,8 +171,8 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
171
171
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
172
172
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
173
173
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
174
|
-
bec_widgets-0.64.
|
175
|
-
bec_widgets-0.64.
|
176
|
-
bec_widgets-0.64.
|
177
|
-
bec_widgets-0.64.
|
178
|
-
bec_widgets-0.64.
|
174
|
+
bec_widgets-0.64.2.dist-info/METADATA,sha256=Z6RgAVNJsHWfv4TE1hUqn_18H1piEkQJ-6d3YhaF9C8,1302
|
175
|
+
bec_widgets-0.64.2.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
176
|
+
bec_widgets-0.64.2.dist-info/entry_points.txt,sha256=OvoqiNzNF9bizFQNhbAmmdc_njHrnVewLE-Kl-u9sh0,115
|
177
|
+
bec_widgets-0.64.2.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
178
|
+
bec_widgets-0.64.2.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|