6316f4f762
test(bec_lib): minor cleanup
2024-03-15 12:53:13 +01:00
42fae6a70b
fix(bec_lib): device.describe should not be an rpc method
2024-03-15 12:53:13 +01:00
c4f0a18e73
fix(bec_lib): fixed status timeout
2024-03-14 09:10:44 +01:00
5dcffe022c
fix(bec_lib): fixed dataset number setter
2024-03-12 17:24:36 +01:00
286e05d2b3
test(bec_lib): added tests for computed signal
2024-03-10 18:33:00 +01:00
3dbb8a00a1
fix(bec_lib): fixed bug that caused data to be modified when using xadd; closes #220
2024-03-10 18:02:29 +01:00
56c0d7ad6c
test: fixed compliance with fakeredis > 2.21.1
2024-03-10 17:16:30 +01:00
7ca93d7412
test(bec_lib): added more tests for the redis connector
2024-03-06 10:17:47 +01:00
75cd6512ea
fix(bec_lib): added missing unsubscribe from streams
2024-03-06 07:53:06 +01:00
93c8ec66f9
test(bec_lib): minor cleanup
2024-03-06 07:53:06 +01:00
757839534c
fix(bec_lib): fixed support for redis streams
2024-03-06 07:53:06 +01:00
2fd1953a55
refactor: removed remaining loads/dumps
2024-03-06 07:44:26 +01:00
a4adb64f5f
refactor: endpoints return EndpointInfo object instead of string
2024-03-05 17:05:40 +01:00
388baae9f1
fix(bec_lib): exclude disabled devices in device filters
2024-02-27 18:12:39 +01:00
b92a79b0c0
refactor!(connector): unify connector/redis_connector in one class
2024-02-26 14:49:43 +01:00
25366c0963
feat(bec_lib): added json serializer
2024-02-21 11:13:09 +01:00
f64bdea797
test(pdf_writer): added tests
2024-02-20 20:43:48 +01:00
fb7c84fcc6
test(async_data): added more tests
2024-02-20 20:43:31 +01:00
0b5660f1d4
test(bec_lib): updated test data to new xrange return values
2024-02-20 19:10:39 +01:00
06ed833ab2
refactor(bec_lib): merged scan data and baseline data; added async data storage
2024-02-20 19:10:39 +01:00
da46c27842
feat(bec_lib): added async data handler
2024-02-20 19:10:39 +01:00
37a58ef5ce
fix(devicemanager): fixed bug after refactoring
2024-02-14 12:49:00 +01:00
ff17e508e6
test(devicemanager): updated test cases
2024-02-14 10:52:28 +01:00
7dc6c12872
test: added tests for file suffix checks
2024-02-14 07:15:28 +01:00
989aea4531
test: refactored scan object tests
2024-02-14 07:15:28 +01:00
41bf2d1bd4
feat(scan_data): added baseline data
2024-02-13 18:37:12 +01:00
d57e95e20d
test: fixed test after modifying dap interface
2024-02-12 13:50:08 +01:00
b119e464d6
test: fixed import for dap plugins
2024-02-12 13:50:08 +01:00
3293925256
refactor(configs): cleanup configs and removed old SynDevices, exchanged with SimCamera/SimMonitor/SimPositioner
2024-02-09 23:19:51 +01:00
782dea87f3
refactor: clean up SimMonitor related changes
2024-02-09 23:19:51 +01:00
5b46810270
refactor: cleanup
2024-02-09 17:59:31 +01:00
0b309ce888
feat(bec_lib.utils): add user_access decorator to bec_lib.utils.
...
refactor: add check if method is in USER_ACCESS already
test: add test for decorator
2024-02-09 17:59:31 +01:00
c684a76a5e
fix: fixed xread decoding
2024-02-08 23:39:07 +01:00
15f8e21305
fix: removed outdated msgpack packing
...
fix: fixed return values of configs
2024-02-08 23:39:07 +01:00
a7bafa6a0c
fix(redis_connector): encode/decode stream data
2024-02-08 23:39:07 +01:00
de8333b164
fix(serialization): move BECMessage check in .loads() in the BEC message decoder
...
This allows to call .loads() on any bytes string
2024-02-08 23:39:07 +01:00
514a51624b
refactor: cleanup after rebasing
2024-02-08 19:26:55 +01:00
d510ae2b61
refactor: renamed fit to run and added service property to override default method name
...
test: fixed tests after renaming fit to run
test: fixed test after refactoring
test: added more tests
2024-02-08 19:26:55 +01:00
aa9ff2d3d0
test: more tests
2024-02-08 19:26:55 +01:00
b09524eb0b
test: added tests for dap plugins
2024-02-08 19:26:55 +01:00
9a98dbafd4
refactor: cleanup and formatting
2024-02-08 19:26:55 +01:00
f1219ae0f0
fix: fixed xread
2024-02-08 19:26:55 +01:00
3d087ef87d
fix(AlarmMessage)!: content member (dict) changed to msg (str)
...
In practice it was already used as a message.
2024-02-07 12:43:52 +01:00
8bbfd10ca7
refactor(messages)!: messages refactoring, new serialization module
...
To have a better separation of concern between messages and how they are conveyed in connectors.
BECMessage can be simple dataclasses, leaving the serialization to the connector which transport those.
The serialization module itself can be isolated, and in the case of msgpack it can be extended to
understand how to encode/decode BECMessage, to simplify writing code like with BundleMessage or to
be able to automatically encode numpy or BECStatus objects.
Finally, client objects (producers and consumers) can receive BECMessage objects instead of having
to dump or load themselves.
2024-02-07 12:43:52 +01:00
1e2af9ae51
feat(ipython): represent objects using '__str__' rather than '__repr__'
2024-02-06 11:45:14 +01:00
1ff19a156d
fix: scan_to_csv can handle ScanReport and ScanItem, runs on multiple scans; closes #80 , #104
2024-02-05 14:19:00 +01:00
5c6f250950
fix: fixed serializer for 3.9
2024-02-01 18:48:42 +01:00
ce67a291eb
test: fixed test for scan status events
2024-01-30 20:31:03 +01:00
70ec095e36
test: add test for get_software_triggered_devices
2024-01-25 12:12:26 +01:00
260ff38d62
test: add and fixed tests for scan_to_csv and scan_export_cm
2024-01-24 22:18:31 +01:00