bec-widgets 2.19.2__py3-none-any.whl → 2.19.3__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 CHANGED
@@ -1,6 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## v2.19.3 (2025-06-25)
5
+
6
+ ### Bug Fixes
7
+
8
+ - **scan_control**: Safeguard against empty history; reversed history to fetch the newest scan
9
+ ([`29a26b1`](https://github.com/bec-project/bec_widgets/commit/29a26b19f9ab829b0d877c3233613a0936db0a12))
10
+
11
+
4
12
  ## v2.19.2 (2025-06-23)
5
13
 
6
14
  ### Bug Fixes
PKG-INFO CHANGED
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bec_widgets
3
- Version: 2.19.2
3
+ Version: 2.19.3
4
4
  Summary: BEC Widgets
5
5
  Project-URL: Bug Tracker, https://gitlab.psi.ch/bec/bec_widgets/issues
6
6
  Project-URL: Homepage, https://gitlab.psi.ch/bec/bec_widgets
@@ -208,11 +208,14 @@ class ScanControl(BECWidget, QWidget):
208
208
  return
209
209
 
210
210
  current_scan = self.comboBox_scan_selection.currentText()
211
- history = self.client.connector.xread(
212
- MessageEndpoints.scan_history(), from_start=True, user_id=self.object_name
211
+ history = (
212
+ self.client.connector.xread(
213
+ MessageEndpoints.scan_history(), from_start=True, user_id=self.object_name
214
+ )
215
+ or []
213
216
  )
214
217
 
215
- for scan in history:
218
+ for scan in reversed(history):
216
219
  scan_data = scan.get("data")
217
220
  if not scan_data:
218
221
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bec_widgets
3
- Version: 2.19.2
3
+ Version: 2.19.3
4
4
  Summary: BEC Widgets
5
5
  Project-URL: Bug Tracker, https://gitlab.psi.ch/bec/bec_widgets/issues
6
6
  Project-URL: Homepage, https://gitlab.psi.ch/bec/bec_widgets
@@ -2,11 +2,11 @@
2
2
  .gitlab-ci.yml,sha256=1nMYldzVk0tFkBWYTcUjumOrdSADASheWOAc0kOFDYs,9509
3
3
  .pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
4
4
  .readthedocs.yaml,sha256=ivqg3HTaOxNbEW3bzWh9MXAkrekuGoNdj0Mj3SdRYuw,639
5
- CHANGELOG.md,sha256=HeEcE_vrbdLo0TQgUJwOUmnfMVHYGCkzkNkoqb4fU0w,309353
5
+ CHANGELOG.md,sha256=vicaux6tMS7bA4k9dbd3SHbz6Bo5pH3Gx8ZfmNp0E5k,309598
6
6
  LICENSE,sha256=Daeiu871NcAp8uYi4eB_qHgvypG-HX0ioRQyQxFwjeg,1531
7
- PKG-INFO,sha256=6wJpfddjzJuwXjyKySTdYzxHYZTRWDtvDm7_Jn6PpoY,1254
7
+ PKG-INFO,sha256=DyaANKJ7DZGLngrQAic5W4VOL9UjeA_1yrie75HECxc,1254
8
8
  README.md,sha256=oY5Jc1uXehRASuwUJ0umin2vfkFh7tHF-LLruHTaQx0,3560
9
- pyproject.toml,sha256=vhgyXZGMmD7wDpdFnhDpvAIscYPYg5dvQNaqhawS1Mg,2835
9
+ pyproject.toml,sha256=qW0l_ou3PBCoMf5A-HC4jqksHXTyxK8DrQuaQO1l6BM,2835
10
10
  .git_hooks/pre-commit,sha256=n3RofIZHJl8zfJJIUomcMyYGFi_rwq4CC19z0snz3FI,286
11
11
  .github/pull_request_template.md,sha256=F_cJXzooWMFgMGtLK-7KeGcQt0B4AYFse5oN0zQ9p6g,801
12
12
  .github/ISSUE_TEMPLATE/bug_report.yml,sha256=WdRnt7HGxvsIBLzhkaOWNfg8IJQYa_oV9_F08Ym6znQ,1081
@@ -205,7 +205,7 @@ bec_widgets/widgets/control/device_input/signal_line_edit/signal_line_edit.pypro
205
205
  bec_widgets/widgets/control/device_input/signal_line_edit/signal_line_edit_plugin.py,sha256=t2VBGsbysCL6154Z5Ny5Nk2UWcURMGS-ibVKiRvYs6Y,1384
206
206
  bec_widgets/widgets/control/scan_control/__init__.py,sha256=IOfHl15vxb_uC6KN62-PeUzbBha_vQyqkkXbJ2HU674,38
207
207
  bec_widgets/widgets/control/scan_control/register_scan_control.py,sha256=j7KrYSn9O6wp6ay2Yb7BWDjdbWzpkSLcCI0neeZi048,483
208
- bec_widgets/widgets/control/scan_control/scan_control.py,sha256=hKIU-V0AByaon6l7eXSW4ru4RXT146jbiuIotOmbR8s,20010
208
+ bec_widgets/widgets/control/scan_control/scan_control.py,sha256=5I25Ha0fM5VdIY_YdQHyb_G10oa_xFMLfzUrWuBi5z0,20070
209
209
  bec_widgets/widgets/control/scan_control/scan_control.pyproject,sha256=eTgVDFKToIH8_BbJjM2RvbOLr7HnYoidX0SAHx640DM,30
210
210
  bec_widgets/widgets/control/scan_control/scan_control_plugin.py,sha256=_XzNzBv9y3ut7Z_94hvB16Ewat76hq7xe0_762aEPA4,1278
211
211
  bec_widgets/widgets/control/scan_control/scan_group_box.py,sha256=OhqjaYVpGnWBmlVi99DGA_wP48uPRQ2b75H_aaEz8D0,13673
@@ -420,8 +420,8 @@ bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.py,sha256=O
420
420
  bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.pyproject,sha256=Lbi9zb6HNlIq14k6hlzR-oz6PIFShBuF7QxE6d87d64,34
421
421
  bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button_plugin.py,sha256=CzChz2SSETYsR8-36meqWnsXCT-FIy_J_xeU5coWDY8,1350
422
422
  bec_widgets/widgets/utility/visual/dark_mode_button/register_dark_mode_button.py,sha256=rMpZ1CaoucwobgPj1FuKTnt07W82bV1GaSYdoqcdMb8,521
423
- bec_widgets-2.19.2.dist-info/METADATA,sha256=6wJpfddjzJuwXjyKySTdYzxHYZTRWDtvDm7_Jn6PpoY,1254
424
- bec_widgets-2.19.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
425
- bec_widgets-2.19.2.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
426
- bec_widgets-2.19.2.dist-info/licenses/LICENSE,sha256=Daeiu871NcAp8uYi4eB_qHgvypG-HX0ioRQyQxFwjeg,1531
427
- bec_widgets-2.19.2.dist-info/RECORD,,
423
+ bec_widgets-2.19.3.dist-info/METADATA,sha256=DyaANKJ7DZGLngrQAic5W4VOL9UjeA_1yrie75HECxc,1254
424
+ bec_widgets-2.19.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
425
+ bec_widgets-2.19.3.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
426
+ bec_widgets-2.19.3.dist-info/licenses/LICENSE,sha256=Daeiu871NcAp8uYi4eB_qHgvypG-HX0ioRQyQxFwjeg,1531
427
+ bec_widgets-2.19.3.dist-info/RECORD,,
pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "bec_widgets"
7
- version = "2.19.2"
7
+ version = "2.19.3"
8
8
  description = "BEC Widgets"
9
9
  requires-python = ">=3.10"
10
10
  classifiers = [