bec-widgets 0.94.6__py3-none-any.whl → 0.94.7__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 -6
- PKG-INFO +1 -1
- bec_widgets/cli/client_utils.py +1 -0
- bec_widgets/cli/server.py +5 -5
- {bec_widgets-0.94.6.dist-info → bec_widgets-0.94.7.dist-info}/METADATA +1 -1
- {bec_widgets-0.94.6.dist-info → bec_widgets-0.94.7.dist-info}/RECORD +10 -10
- pyproject.toml +1 -1
- {bec_widgets-0.94.6.dist-info → bec_widgets-0.94.7.dist-info}/WHEEL +0 -0
- {bec_widgets-0.94.6.dist-info → bec_widgets-0.94.7.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.94.6.dist-info → bec_widgets-0.94.7.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v0.94.7 (2024-08-20)
|
4
|
+
|
5
|
+
### Fix
|
6
|
+
|
7
|
+
* fix: formatting of stdout, stderr captured text for logger ([`939f834`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/939f834a26ddbac0bdead0b60b1cdf52014f182f))
|
8
|
+
|
3
9
|
## v0.94.6 (2024-08-14)
|
4
10
|
|
5
11
|
### Fix
|
@@ -146,12 +152,6 @@ This reverts commit fd6ae91993a23a7b8dbb2cf3c4b7c3eda6d2b0f6 ([`5aad401`](https:
|
|
146
152
|
|
147
153
|
* fix(status_box): fix cleanup of status box ([`1f30dd7`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/1f30dd73a9c1e3135087a5eef92c7329f54a604e))
|
148
154
|
|
149
|
-
### Refactor
|
150
|
-
|
151
|
-
* refactor(queue): refactored bec queue to inherit only from qwidget ([`7616ca0`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/7616ca0e145e233ccb48029a8c0b54b54b5b4194))
|
152
|
-
|
153
155
|
### Test
|
154
156
|
|
155
157
|
* test: register all widgets with qtbot and close them ([`73cd11e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/73cd11e47277e4437554b785a9551b28a572094f))
|
156
|
-
|
157
|
-
## v0.92.4 (2024-07-31)
|
PKG-INFO
CHANGED
bec_widgets/cli/client_utils.py
CHANGED
@@ -100,6 +100,7 @@ def _start_plot_process(gui_id: str, gui_class: type, config: dict | str, logger
|
|
100
100
|
|
101
101
|
env_dict = os.environ.copy()
|
102
102
|
env_dict["PYTHONUNBUFFERED"] = "1"
|
103
|
+
|
103
104
|
if logger is None:
|
104
105
|
stdout_redirect = subprocess.DEVNULL
|
105
106
|
stderr_redirect = subprocess.DEVNULL
|
bec_widgets/cli/server.py
CHANGED
@@ -130,15 +130,15 @@ class BECWidgetsCLIServer:
|
|
130
130
|
class SimpleFileLikeFromLogOutputFunc:
|
131
131
|
def __init__(self, log_func):
|
132
132
|
self._log_func = log_func
|
133
|
+
self._buffer = []
|
133
134
|
|
134
135
|
def write(self, buffer):
|
135
|
-
|
136
|
-
line = line.rstrip()
|
137
|
-
if line:
|
138
|
-
self._log_func(line)
|
136
|
+
self._buffer.append(buffer)
|
139
137
|
|
140
138
|
def flush(self):
|
141
|
-
|
139
|
+
lines, _, remaining = "".join(self._buffer).rpartition("\n")
|
140
|
+
self._log_func(lines)
|
141
|
+
self._buffer = [remaining]
|
142
142
|
|
143
143
|
def close(self):
|
144
144
|
return
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=BtKhZI3dhK09En1BfpglYi-ZJwG6ZdC-iJr7kXFVfCg,8346
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=jhchcfzJ4tJmB9TztZ_Y-TqfZeNKL5OTUzpD1bbpHEs,6689
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=M__c_RIR9v7_7Trd7jo-9px8tawl3Kmt7RFufR3ntxw,1325
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=RplPX3vctU3wArBQBFJ_zildzghVjSgH2LTuVCFAXAc,2416
|
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
|
@@ -83,11 +83,11 @@ bec_widgets/assets/toolbar_icons/waveform.svg,sha256=darXWaIww4HEu9skFUd8Vs1NSAg
|
|
83
83
|
bec_widgets/cli/__init__.py,sha256=d0Q6Fn44e7wFfLabDOBxpcJ1DPKWlFunGYDUBmO-4hA,22
|
84
84
|
bec_widgets/cli/auto_updates.py,sha256=DwzRChcFIWPH2kCYvp8H7dXvyYSKGYv6LwCmK2sDR2E,5676
|
85
85
|
bec_widgets/cli/client.py,sha256=HjBxjthimBvbyVrjvLZoeBN1NdezupowRYjZxqDlOX8,76261
|
86
|
-
bec_widgets/cli/client_utils.py,sha256=
|
86
|
+
bec_widgets/cli/client_utils.py,sha256=l35LtTkD7PdvVCckjMU8-y6f5a5pp1u6cFPpD-Dkvow,11713
|
87
87
|
bec_widgets/cli/generate_cli.py,sha256=Ea5px9KblUlcGg-1JbJBTIU7laGg2n8PM7Efw9WVVzM,5889
|
88
88
|
bec_widgets/cli/rpc_register.py,sha256=QxXUZu5XNg00Yf5O3UHWOXg3-f_pzKjjoZYMOa-MOJc,2216
|
89
89
|
bec_widgets/cli/rpc_wigdet_handler.py,sha256=6kQng2DyS6rhLJqSJ7xa0kdgSxp-35A2upcf833dJRE,1483
|
90
|
-
bec_widgets/cli/server.py,sha256=
|
90
|
+
bec_widgets/cli/server.py,sha256=I3gZ5xwygEOnL4ga3zOoD3jRUXNjPRop4u7a0emfejs,7921
|
91
91
|
bec_widgets/examples/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
92
92
|
bec_widgets/examples/general_app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
93
93
|
bec_widgets/examples/general_app/general_app.py,sha256=Ks9CKtIQIFOzKosh204zVg1ltSnp07LDqkwoVAaCd9k,3046
|
@@ -378,8 +378,8 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
378
378
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
379
379
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
380
380
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
381
|
-
bec_widgets-0.94.
|
382
|
-
bec_widgets-0.94.
|
383
|
-
bec_widgets-0.94.
|
384
|
-
bec_widgets-0.94.
|
385
|
-
bec_widgets-0.94.
|
381
|
+
bec_widgets-0.94.7.dist-info/METADATA,sha256=M__c_RIR9v7_7Trd7jo-9px8tawl3Kmt7RFufR3ntxw,1325
|
382
|
+
bec_widgets-0.94.7.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
383
|
+
bec_widgets-0.94.7.dist-info/entry_points.txt,sha256=3otEkCdDB9LZJuBLzG4pFLK5Di0CVybN_12IsZrQ-58,166
|
384
|
+
bec_widgets-0.94.7.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
385
|
+
bec_widgets-0.94.7.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|