bec-widgets 0.81.1__py3-none-any.whl → 0.81.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/widgets/figure/plots/waveform/waveform.py +8 -2
- {bec_widgets-0.81.1.dist-info → bec_widgets-0.81.2.dist-info}/METADATA +1 -1
- {bec_widgets-0.81.1.dist-info → bec_widgets-0.81.2.dist-info}/RECORD +9 -9
- pyproject.toml +1 -1
- {bec_widgets-0.81.1.dist-info → bec_widgets-0.81.2.dist-info}/WHEEL +0 -0
- {bec_widgets-0.81.1.dist-info → bec_widgets-0.81.2.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.81.1.dist-info → bec_widgets-0.81.2.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v0.81.2 (2024-07-07)
|
4
|
+
|
5
|
+
### Fix
|
6
|
+
|
7
|
+
* fix(waveform): scan_history error check for IndexError ([`dd1875e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/dd1875ea5cc18bcef9aad743347a8accf144c08d))
|
8
|
+
|
3
9
|
## v0.81.1 (2024-07-07)
|
4
10
|
|
5
11
|
### Fix
|
@@ -130,14 +136,6 @@
|
|
130
136
|
|
131
137
|
## v0.76.0 (2024-06-28)
|
132
138
|
|
133
|
-
### Feature
|
134
|
-
|
135
|
-
* feat(designer): added support for creating designer plugins automatically ([`c1dd0ee`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/c1dd0ee1906dba1f2e2ae9ce40a84d55c26a1cce))
|
136
|
-
|
137
139
|
### Fix
|
138
140
|
|
139
141
|
* fix: fixed qwidget inheritance for ring progress bar ([`0610d2f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/0610d2f9f027f8659e7149f2dfbb316ff30e337d))
|
140
|
-
|
141
|
-
### Unknown
|
142
|
-
|
143
|
-
* fix:parent set as first kwarg TextBox and WebsiteWidget ([`a45c407`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/a45c4075684b93bfdcee03e5a416b84f61d3bc6f))
|
PKG-INFO
CHANGED
@@ -221,6 +221,7 @@ class BECWaveform(BECPlotBase):
|
|
221
221
|
label: str | None = None,
|
222
222
|
validate: bool = True,
|
223
223
|
dap: str | None = None, # TODO add dap custom curve wrapper
|
224
|
+
**kwargs,
|
224
225
|
) -> BECCurve:
|
225
226
|
"""
|
226
227
|
Plot a curve to the plot widget.
|
@@ -244,7 +245,7 @@ class BECWaveform(BECPlotBase):
|
|
244
245
|
"""
|
245
246
|
|
246
247
|
if x is not None and y is not None:
|
247
|
-
return self.add_curve_custom(x=x, y=y, label=label, color=color)
|
248
|
+
return self.add_curve_custom(x=x, y=y, label=label, color=color, **kwargs)
|
248
249
|
else:
|
249
250
|
if dap:
|
250
251
|
self.add_dap(x_name=x_name, y_name=y_name, dap=dap)
|
@@ -259,6 +260,7 @@ class BECWaveform(BECPlotBase):
|
|
259
260
|
color_map_z=color_map_z,
|
260
261
|
label=label,
|
261
262
|
validate_bec=validate,
|
263
|
+
**kwargs,
|
262
264
|
)
|
263
265
|
|
264
266
|
def add_curve_custom(
|
@@ -754,7 +756,11 @@ class BECWaveform(BECPlotBase):
|
|
754
756
|
self.update_dap, MessageEndpoints.dap_response(self.scan_id)
|
755
757
|
)
|
756
758
|
if scan_index is not None:
|
757
|
-
|
759
|
+
try:
|
760
|
+
self.scan_id = self.queue.scan_storage.storage[scan_index].scan_id
|
761
|
+
except IndexError:
|
762
|
+
print(f"Scan index {scan_index} out of range.")
|
763
|
+
return
|
758
764
|
elif scan_id is not None:
|
759
765
|
self.scan_id = scan_id
|
760
766
|
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=vuDJPAYOK0995_H6fu0N5dIgIrOJgTvKr0HZkNWlxMw,8142
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=j1aNZJFxk_hqlSoK8ue-z10Cm3cvgwrDyGBF5uCewN8,6653
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=VfAwsgdfE-Y03bigTY5y9gl9q-WmgX1yU8h-2OqucmI,1309
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=SkiQlmPoikUOrLYzqhqHWHAPQATC3Vp6mkP9WPw25qA,2358
|
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
|
@@ -107,7 +107,7 @@ bec_widgets/widgets/figure/plots/image/image_processor.py,sha256=GeTtWjbldy6VejM
|
|
107
107
|
bec_widgets/widgets/figure/plots/motor_map/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
108
108
|
bec_widgets/widgets/figure/plots/motor_map/motor_map.py,sha256=QYeXKcb87DPti19MaAFFr6LGma4F7GijaxnC1vx8Kng,18013
|
109
109
|
bec_widgets/widgets/figure/plots/waveform/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
110
|
-
bec_widgets/widgets/figure/plots/waveform/waveform.py,sha256=
|
110
|
+
bec_widgets/widgets/figure/plots/waveform/waveform.py,sha256=e401GGvUF11rZKf4onB4zYlcUWIv8Zsnm4GcysaXi6U,29226
|
111
111
|
bec_widgets/widgets/figure/plots/waveform/waveform_curve.py,sha256=yQZGPKs--3X_9Qg2pv0GUiL5WLBQVC3z_PJKRnsHqPU,8293
|
112
112
|
bec_widgets/widgets/jupyter_console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
113
113
|
bec_widgets/widgets/jupyter_console/jupyter_console.py,sha256=ioLYJL31RdBoAOGFSS8PVSnUhkWPWmLC3tiKp7CouO8,2251
|
@@ -230,8 +230,8 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
230
230
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
231
231
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
232
232
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
233
|
-
bec_widgets-0.81.
|
234
|
-
bec_widgets-0.81.
|
235
|
-
bec_widgets-0.81.
|
236
|
-
bec_widgets-0.81.
|
237
|
-
bec_widgets-0.81.
|
233
|
+
bec_widgets-0.81.2.dist-info/METADATA,sha256=VfAwsgdfE-Y03bigTY5y9gl9q-WmgX1yU8h-2OqucmI,1309
|
234
|
+
bec_widgets-0.81.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
235
|
+
bec_widgets-0.81.2.dist-info/entry_points.txt,sha256=3otEkCdDB9LZJuBLzG4pFLK5Di0CVybN_12IsZrQ-58,166
|
236
|
+
bec_widgets-0.81.2.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
237
|
+
bec_widgets-0.81.2.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|