193 Commits

Author SHA1 Message Date
01b4e9cc68 refactor: renamed scanID to scan_id 2024-03-22 15:06:14 +01:00
e281b6aaa1 feat: add "count" keyword arg to stream connector .get_last(), to retrieve last "count" items
count=1 by default
2024-03-21 09:53:42 +01:00
da5df48008 fix: validate endpoint for .get_last (#236), enhance endpoint validation 2024-03-21 09:53:42 +01:00
62701077bd test(bec_lib): fixed tests for endpoint structure 2024-03-20 15:49:39 +01:00
d1834a13c1 refactor: cleanup of BECClient 2024-03-20 08:06:43 +01:00
eb15e3ae49 fix(bec_lib): added pyepics compliant wait function to put 2024-03-18 21:54:33 +01:00
14a0088dea test: fix formatting 2024-03-15 17:16:24 +01:00
914b332781 fix: fix scan_export and unit tests 2024-03-15 17:16:24 +01:00
0666013d90 fix(bec_lib): fixed support in dap for scan reports 2024-03-15 17:04:57 +01:00
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