bec-widgets 1.4.0__py3-none-any.whl → 1.4.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 +8 -8
- PKG-INFO +1 -1
- bec_widgets/widgets/positioner_box/positioner_box.py +14 -5
- {bec_widgets-1.4.0.dist-info → bec_widgets-1.4.1.dist-info}/METADATA +1 -1
- {bec_widgets-1.4.0.dist-info → bec_widgets-1.4.1.dist-info}/RECORD +9 -9
- pyproject.toml +1 -1
- {bec_widgets-1.4.0.dist-info → bec_widgets-1.4.1.dist-info}/WHEEL +0 -0
- {bec_widgets-1.4.0.dist-info → bec_widgets-1.4.1.dist-info}/entry_points.txt +0 -0
- {bec_widgets-1.4.0.dist-info → bec_widgets-1.4.1.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
3
|
|
4
|
+
## v1.4.1 (2024-11-12)
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
- **positioner_box**: Adjusted default signals
|
9
|
+
([`8e5c0ad`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/8e5c0ad8c8eff5a9308169bc663d2b7230f0ebb1))
|
10
|
+
|
11
|
+
|
4
12
|
## v1.4.0 (2024-11-11)
|
5
13
|
|
6
14
|
### Bug Fixes
|
@@ -199,11 +207,3 @@ This property tells if expand should show a popup (by default), or if the widget
|
|
199
207
|
|
200
208
|
- **image**: Image widget can take data from monitor_1d endpoint
|
201
209
|
([`9ef1d1c`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/9ef1d1c9ac2178d9fa2e655942208f8abbdf5c1b))
|
202
|
-
|
203
|
-
|
204
|
-
## v0.117.1 (2024-10-11)
|
205
|
-
|
206
|
-
### Bug Fixes
|
207
|
-
|
208
|
-
- **FPS**: Qtimer cleanup leaking
|
209
|
-
([`3a22392`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/3a2239278075de7489ad10a58c31d7d89715e221))
|
PKG-INFO
CHANGED
@@ -240,11 +240,18 @@ class PositionerBox(BECWidget, CompactPopupWidget):
|
|
240
240
|
signal = hinted_signals[0]
|
241
241
|
readback_val = signals.get(signal, {}).get("value")
|
242
242
|
|
243
|
-
|
244
|
-
setpoint_val = signals.get(f"{self.device}
|
245
|
-
|
246
|
-
|
247
|
-
|
243
|
+
for setpoint_signal in ["setpoint", "user_setpoint"]:
|
244
|
+
setpoint_val = signals.get(f"{self.device}_{setpoint_signal}", {}).get("value")
|
245
|
+
if setpoint_val is not None:
|
246
|
+
break
|
247
|
+
|
248
|
+
for moving_signal in ["motor_done_move", "motor_is_moving"]:
|
249
|
+
is_moving = signals.get(f"{self.device}_{moving_signal}", {}).get("value")
|
250
|
+
if is_moving is not None:
|
251
|
+
break
|
252
|
+
|
253
|
+
if is_moving is not None:
|
254
|
+
self.ui.spinner_widget.setVisible(True)
|
248
255
|
if is_moving:
|
249
256
|
self.ui.spinner_widget.start()
|
250
257
|
self.ui.spinner_widget.setToolTip("Device is moving")
|
@@ -253,6 +260,8 @@ class PositionerBox(BECWidget, CompactPopupWidget):
|
|
253
260
|
self.ui.spinner_widget.stop()
|
254
261
|
self.ui.spinner_widget.setToolTip("Device is idle")
|
255
262
|
self.set_global_state("success")
|
263
|
+
else:
|
264
|
+
self.ui.spinner_widget.setVisible(False)
|
256
265
|
|
257
266
|
if readback_val is not None:
|
258
267
|
self.ui.readback.setText(f"{readback_val:.{precision}f}")
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=Dc1iDjsc72UxdUtihx4uSZU0lrTQeR8hZwGx1MQBfKE,8432
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=LVaOQfu4V_Meul8rS4CsPrrpJL9TURIrRTjD7EtcknI,7280
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=VCuOaKEG3FgQYYxd7ooJyxL3PGE6Qe8Df2KICA5fRPA,1310
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=_U7BOvyswEj82ZaYzBg0xjqRFxN6jgfMiywjyapRISk,2592
|
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
|
@@ -212,7 +212,7 @@ bec_widgets/widgets/position_indicator/position_indicator.pyproject,sha256=s0JEf
|
|
212
212
|
bec_widgets/widgets/position_indicator/position_indicator_plugin.py,sha256=ehQPpwkjJ7k365i4gdwtmAmCbVmB1tvQLEo60J_ivo4,1413
|
213
213
|
bec_widgets/widgets/position_indicator/register_position_indicator.py,sha256=OZNiMgM_80TPSAXK_0hXAkne4vUh8DGvh_OdpOiMpwI,516
|
214
214
|
bec_widgets/widgets/positioner_box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
215
|
-
bec_widgets/widgets/positioner_box/positioner_box.py,sha256=
|
215
|
+
bec_widgets/widgets/positioner_box/positioner_box.py,sha256=MK4JOBSKLCHtuM4SUw-q1R7XBwbTAfRCerhoqVv8Y7w,12409
|
216
216
|
bec_widgets/widgets/positioner_box/positioner_box.pyproject,sha256=7966pHdDseaHciaPNEKgdQgbUThSZf5wEDCeAEJh9po,32
|
217
217
|
bec_widgets/widgets/positioner_box/positioner_box.ui,sha256=7LZlM9smIqmkvS2KAIDkBamn04mBAkXeG9T1fpKRQe8,6093
|
218
218
|
bec_widgets/widgets/positioner_box/positioner_box_plugin.py,sha256=kJtQgRFGkJYWbZqJ7K7o0UhdsgAlODUVZL8pKJWwMhs,1413
|
@@ -290,8 +290,8 @@ bec_widgets/widgets/website/register_website_widget.py,sha256=LIQJpV9uqcBiPR9cEA
|
|
290
290
|
bec_widgets/widgets/website/website.py,sha256=42pncCc_zI2eqeMArIurVmPUukRo5bTxa2h1Skah-io,3012
|
291
291
|
bec_widgets/widgets/website/website_widget.pyproject,sha256=scOiV3cV1_BjbzpPzy2N8rIJL5P2qIZz8ObTJ-Uvdtg,25
|
292
292
|
bec_widgets/widgets/website/website_widget_plugin.py,sha256=pz38_C2cZ0yvPPS02wdIPcmhFo_yiwUhflsASocAPQQ,1341
|
293
|
-
bec_widgets-1.4.
|
294
|
-
bec_widgets-1.4.
|
295
|
-
bec_widgets-1.4.
|
296
|
-
bec_widgets-1.4.
|
297
|
-
bec_widgets-1.4.
|
293
|
+
bec_widgets-1.4.1.dist-info/METADATA,sha256=VCuOaKEG3FgQYYxd7ooJyxL3PGE6Qe8Df2KICA5fRPA,1310
|
294
|
+
bec_widgets-1.4.1.dist-info/WHEEL,sha256=3U_NnUcV_1B1kPkYaPzN-irRckL5VW_lytn0ytO_kRY,87
|
295
|
+
bec_widgets-1.4.1.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
|
296
|
+
bec_widgets-1.4.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
297
|
+
bec_widgets-1.4.1.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|