74 Commits

Author SHA1 Message Date
05a83bd4ac fix(scan_server): stage should only include monitored, baseline and async devices 2024-02-27 11:09:52 +01:00
b92a79b0c0 refactor!(connector): unify connector/redis_connector in one class 2024-02-26 14:49:43 +01:00
63a8dd814c refactor: renamed enforce_sync to monitor_sync 2024-02-23 18:24:57 +01:00
37a58ef5ce fix(devicemanager): fixed bug after refactoring 2024-02-14 12:49:00 +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
6d05dc2f7f refactor: fixed formatting for black24 2024-01-26 09:42:25 +01:00
98c7136a3a refactor: renamed detectors to get_software_triggered_devices and fixed access; closes #172, #173 2024-01-25 12:12:26 +01:00
a039cd56cd test: remove test_wait_for_trigger temporary due to dependency on deviceType 2024-01-24 12:15:57 +01:00
9acba36aa2 refactor: deprecated devicemanager_client 2023-12-18 16:50:50 +00:00
beb065124d fix: fixed bug and tests 2023-12-11 13:28:33 +00:00
5f48362667 feat: removed acquisition group and status from device config 2023-12-11 13:28:33 +00:00
331e653ee6 refactor: avoid using bec message aliases 2023-11-20 15:52:39 +00:00
298faaf140 test: added test for diid>=target_diid 2023-11-20 15:10:49 +00:00
06f2d781ae refactor: rename module BECMessage -> messages
This should help to avoid confusion between BECMessage module and
BECMessage class located in the same module
2023-11-10 10:28:53 +01:00
524ef24da0 refactor: flatten bec_lib structure 2023-11-10 10:24:33 +01:00
146898ec3f refactor: run isort on all files
$ isort . --profile=black --line-width=100 --multi-line=3 --trailing-comma
2023-11-10 10:22:47 +01:00
2da7dd385f test: fixed test for refactored worker 2023-11-09 13:59:14 +00:00
0c7ae795c4 refactor: major scan worker refactoring; added separate device validation mixin 2023-11-09 13:59:14 +00:00
ec016e4466 test: added test for complete with list of devices 2023-10-30 13:14:16 +01:00
dfc0abe7b6 refactor: cleanup 2023-10-30 12:07:02 +00:00
cc5f5ac3a2 refactor: cleanup 2023-10-30 12:07:02 +00:00
ac7a386acf fix: fixed stage instruction for detectors 2023-10-06 09:12:23 +02:00
31fca804cd test: fixed tests 2023-09-07 11:04:08 +02:00
23af7b52c6 test: fixed test for trigger 2023-09-05 15:57:51 +02:00
54ba69b983 test: fixed test for trigger 2023-09-05 15:12:18 +02:00
9aefe83b02 test: fixed test for new wait 2023-09-05 11:51:45 +02:00
11e5f96b75 feat: added progress bar based on async devices 2023-09-02 20:58:47 +02:00
f63175941b feat: added acquisition config and readout_time 2023-08-23 18:37:51 +02:00
863dbc86bb refactor: renamed primary to monitored 2023-08-20 16:49:12 +02:00
1802e29b3d refactor: renamed stream to readout_priority 2023-08-20 16:49:04 +02:00
1370db4c70 feat: renamed primary devices to monitored devices; closes #75 2023-06-28 14:40:10 +00:00
a944e43e1a feat: renamed bec_client_lib to bec_lib 2023-06-28 11:04:24 +02:00
00ad593d5c test: more scan server tests 2023-06-22 23:02:41 +02:00
f43d4ebac6 refactor: moved utils into bec_client_lib 2023-06-01 18:01:42 +02:00
a65aa9d055 fix: changes related to readout_priority 2023-05-06 12:30:00 +02:00
d4cbead1de fix: fixed bug in scan worker max pointid assignment 2023-03-20 22:16:02 +01:00
9b9bd5973b test: added more tests 2023-02-10 15:36:05 +01:00
f0616ead21 test: fixed tests for new wait group structure 2023-02-10 14:39:11 +01:00
stalbe_j
e48656813c tests: test_shutdown 2023-02-08 09:52:46 +01:00
stalbe_j
9a4f46cf2d tests: test_cleanup 2023-02-08 09:49:53 +01:00
stalbe_j
e400a9125a tests: test_reset 2023-02-08 09:47:13 +01:00
stalbe_j
274b6a6528 tests: test_process_instructions 2023-02-08 09:42:23 +01:00
stalbe_j
ab76bb4644 tests: added test_unstage_device 2023-02-07 11:49:15 +01:00
stalbe_j
4514b25fdf tests: added test_stage_device 2023-02-07 11:30:50 +01:00
stalbe_j
13ae2929a1 tests: added test_initialize_scan_info 2023-02-07 09:06:48 +01:00
stalbe_j
246d6cfa55 tests: added test_open_scan 2023-02-06 16:33:34 +01:00
stalbe_j
f1d65acf6b tests: fixed formatter and started with test_open_scan 2023-02-03 17:08:54 +01:00
stalbe_j
5aa5b7182a tests: test_kickoff_devices 2023-02-03 16:23:32 +01:00
stalbe_j
d8820c12da tests: test_read_devices 2023-02-03 16:15:08 +01:00
stalbe_j
35a7c3d1fa tests: changed from magicmock to context managers 2023-02-03 16:03:39 +01:00