bec-widgets 0.56.0__py3-none-any.whl → 0.56.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 +9 -15
- PKG-INFO +1 -1
- bec_widgets/widgets/spiral_progress_bar/ring.py +5 -5
- {bec_widgets-0.56.0.dist-info → bec_widgets-0.56.1.dist-info}/METADATA +1 -1
- {bec_widgets-0.56.0.dist-info → bec_widgets-0.56.1.dist-info}/RECORD +8 -8
- pyproject.toml +1 -1
- {bec_widgets-0.56.0.dist-info → bec_widgets-0.56.1.dist-info}/WHEEL +0 -0
- {bec_widgets-0.56.0.dist-info → bec_widgets-0.56.1.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
## v0.56.1 (2024-06-04)
|
6
|
+
|
7
|
+
### Fix
|
8
|
+
|
9
|
+
* fix(spiral_progress_bar/rings): config min/max values added check for floats ([`9d615c9`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/9d615c915c8f7cc2ea8f1dc17993b98fe462c682))
|
10
|
+
|
11
|
+
* fix(spiral_progress_bar): Endpoint is always stored as a string in the RingConnection Config ([`d253991`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/d2539918b296559e1d684344e179775a2423daa9))
|
12
|
+
|
13
|
+
|
5
14
|
## v0.56.0 (2024-05-29)
|
6
15
|
|
7
16
|
### Build
|
@@ -166,18 +175,3 @@
|
|
166
175
|
### Fix
|
167
176
|
|
168
177
|
* fix(cli): BECFigure takes the port to connect to redis from the current BECClient, supporting plugins ([`57cb136`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/57cb136a098e87a452414bf44e627edb562f6799))
|
169
|
-
|
170
|
-
|
171
|
-
## v0.50.0 (2024-04-29)
|
172
|
-
|
173
|
-
### Fix
|
174
|
-
|
175
|
-
* fix(widgets/figure): access pattern changed for getting widgets by coordinates for rpc ([`13c018a`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/13c018a79704a7497c140df57179d294e43ecffa))
|
176
|
-
|
177
|
-
* fix(plots): cleanup policy reviewed for children items ([`8f20a0b`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/8f20a0b3b1b5dd117b36b45645717190b9ee9cbf))
|
178
|
-
|
179
|
-
### Test
|
180
|
-
|
181
|
-
* test(cli/rpc_register): e2e RPCRegister ([`4f261be`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/4f261be4c7cfe54501443d031f9266f4f838f6e2))
|
182
|
-
|
183
|
-
* test(cli/rpc_register): rpc_register tests added ([`40eb75f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/40eb75f85a4d99d498b086a37e799276a9d2ac3f))
|
PKG-INFO
CHANGED
@@ -17,16 +17,16 @@ class RingConnections(BaseModel):
|
|
17
17
|
@field_validator("endpoint")
|
18
18
|
def validate_endpoint(cls, v, values):
|
19
19
|
slot = values.data["slot"]
|
20
|
-
|
20
|
+
v = v.endpoint if isinstance(v, EndpointInfo) else v
|
21
21
|
if slot == "on_scan_progress":
|
22
|
-
if
|
22
|
+
if v != "scans/scan_progress":
|
23
23
|
raise PydanticCustomError(
|
24
24
|
"unsupported endpoint",
|
25
25
|
"For slot 'on_scan_progress', endpoint must be MessageEndpoint.scan_progress or 'scans/scan_progress'.",
|
26
26
|
{"wrong_value": v},
|
27
27
|
)
|
28
28
|
elif slot == "on_device_readback":
|
29
|
-
if not
|
29
|
+
if not v.startswith("internal/devices/readback/"):
|
30
30
|
raise PydanticCustomError(
|
31
31
|
"unsupported endpoint",
|
32
32
|
"For slot 'on_device_readback', endpoint must be MessageEndpoint.device_readback(device) or 'internal/devices/readback/{device}'.",
|
@@ -54,8 +54,8 @@ class RingConfig(ConnectionConfig):
|
|
54
54
|
description="Start position for the progress bars in degrees. Default is 90 degrees - corespons to "
|
55
55
|
"the top of the ring.",
|
56
56
|
)
|
57
|
-
min_value: int | None = Field(0, description="Minimum value for the progress bars.")
|
58
|
-
max_value: int | None = Field(100, description="Maximum value for the progress bars.")
|
57
|
+
min_value: int | float | None = Field(0, description="Minimum value for the progress bars.")
|
58
|
+
max_value: int | float | None = Field(100, description="Maximum value for the progress bars.")
|
59
59
|
precision: int | None = Field(3, description="Precision for the progress bars.")
|
60
60
|
update_behaviour: Literal["manual", "auto"] | None = Field(
|
61
61
|
"auto", description="Update behaviour for the progress bars."
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=14teoIFfOHkepa-_tW9nAxSF3sjdWnRMFLfu2yooR5s,12236
|
3
3
|
.pylintrc,sha256=OstrgmEyP0smNFBKoIN5_26-UmNZgMHnbjvAWX0UrLs,18535
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=hZS8WkcyftWivZY--uu9Batq5Ig6ntZL856PUpZc2d4,7040
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=4rY1pWoAcOkokzBNWFTqvh8_74Dz7kdoz-j57_wuvn8,1135
|
8
8
|
README.md,sha256=y4jB6wvArS7N8_iTbKWnSM_oRAqLA2GqgzUR-FMh5sU,2645
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=FfsH75R3b_wXYFyNh22RBMlAabKycZ7JpBrm3_fvsGo,1803
|
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
|
@@ -80,7 +80,7 @@ bec_widgets/widgets/motor_control/selection/selection.ui,sha256=vXXpvNWuL6xyHhW7
|
|
80
80
|
bec_widgets/widgets/scan_control/__init__.py,sha256=IOfHl15vxb_uC6KN62-PeUzbBha_vQyqkkXbJ2HU674,38
|
81
81
|
bec_widgets/widgets/scan_control/scan_control.py,sha256=B5n2U2iVtTCY3Tx93JyBqzGCDCmWhWwAOhbPelLI-bs,17168
|
82
82
|
bec_widgets/widgets/spiral_progress_bar/__init__.py,sha256=4efbtcqCToMIw5bkQrTzy2TzuBCXvlhuUPh1bYC_Yzg,51
|
83
|
-
bec_widgets/widgets/spiral_progress_bar/ring.py,sha256=
|
83
|
+
bec_widgets/widgets/spiral_progress_bar/ring.py,sha256=WLz0OVvyRfeJnTKS6_0Lqh-V4P7G64vuzAcOO18QU9A,7008
|
84
84
|
bec_widgets/widgets/spiral_progress_bar/spiral_progress_bar.py,sha256=Geev5PwJUsYgzoY0a-fx6ZmBOptKTPeJa_Mp8Ouh0fY,22563
|
85
85
|
bec_widgets/widgets/toolbar/__init__.py,sha256=d-TP4_cr_VbpwreMM4ePnfZ5YXsEPQ45ibEf75nuGoE,36
|
86
86
|
bec_widgets/widgets/toolbar/toolbar.py,sha256=e0zCD_0q7K4NVhrzD8001Qvfxt-VhqHTgofchS9NgCM,5125
|
@@ -132,7 +132,7 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
132
132
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
133
133
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
134
134
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
135
|
-
bec_widgets-0.56.
|
136
|
-
bec_widgets-0.56.
|
137
|
-
bec_widgets-0.56.
|
138
|
-
bec_widgets-0.56.
|
135
|
+
bec_widgets-0.56.1.dist-info/METADATA,sha256=4rY1pWoAcOkokzBNWFTqvh8_74Dz7kdoz-j57_wuvn8,1135
|
136
|
+
bec_widgets-0.56.1.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
137
|
+
bec_widgets-0.56.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
138
|
+
bec_widgets-0.56.1.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|