Commit Graph

581 Commits

Author SHA1 Message Date
NichtJens 0782f62eaa renamed get_running_detectors_list -> get_running_detectors 2024-04-02 10:35:05 +02:00
NichtJens 62f5616894 only return message if there is no extra info 2024-04-02 10:35:05 +02:00
NichtJens 03cea14c65 turned status="pass" into "error" 2024-04-02 10:35:05 +02:00
NichtJens 792be2a188 renamed status: failed -> error 2024-04-02 10:35:05 +02:00
NichtJens 92795a7b63 also return the exception type; also log the traceback 2024-04-02 10:35:05 +02:00
NichtJens d2172f236d removed useless/fake zeros from take pedestal return dict 2024-04-02 10:35:05 +02:00
NichtJens f286899c69 consistent return dicts with status and message 2024-04-02 10:35:05 +02:00
NichtJens 5d450760fc status -> message; state -> status 2024-04-02 10:35:05 +02:00
NichtJens 3b3f2e58ec moved get_dap_settings and get_detector_settings into ENDPOINTS_GET 2024-04-02 10:35:05 +02:00
NichtJens 9e6a039166 spaces 2024-03-22 13:11:01 +01:00
NichtJens 0a6d4b90aa use SSD tmp storage (if raw files are removed) 2024-03-22 11:45:10 +01:00
NichtJens 99a2a400ac attach get_detector_temperatures endpoint 2024-03-22 11:26:17 +01:00
NichtJens 22754ceff9 added get_detector_temperatures endpoint 2024-03-22 11:25:51 +01:00
NichtJens 898ecf5023 removed useless copy 2024-03-22 10:42:00 +01:00
NichtJens 0f72f475b5 test if tests cover all get endpoints 2024-03-03 13:31:27 +01:00
NichtJens 8f9ddb151c split test into smaller tests 2024-03-03 13:31:19 +01:00
NichtJens 7075354286 less self 2024-03-03 13:31:16 +01:00
NichtJens 83236bcce9 added a run script 2024-03-03 13:31:13 +01:00
NichtJens 4a1ff5c0f9 added REST API test 2024-03-03 13:31:04 +01:00
NichtJens c6c2c00a79 moved broken tests into tests-legacy 2024-03-03 13:30:57 +01:00
augustin_s a93dda4f1e moved log format to config 2024-02-28 14:56:54 +01:00
augustin_s 314c9008e1 mimic config usage of broker in slow broker 2024-02-28 14:31:18 +01:00
augustin_s 45c7c4a2f8 unused const 2024-02-28 14:15:53 +01:00
augustin_s c57314a3ee moved example files into separate folder 2024-02-28 12:24:25 +01:00
augustin_s 5b69437e94 some formatting for easier reading 2024-02-28 12:20:50 +01:00
augustin_s ab4a6a500e use exceptions for error handling 2024-02-28 11:47:33 +01:00
augustin_s f75009cd01 use helper to format exceptions for printing 2024-02-28 11:13:39 +01:00
augustin_s 63f43ae1f9 added helper to format exceptions for printing 2024-02-27 19:55:55 +01:00
augustin_s 61ce9ed9cc use _logger.exception("...") instead of _logger.error(f"... (due to {e})") 2024-02-27 19:48:54 +01:00
augustin_s ade477c901 use _logger.exception("...") instead of _logger.error(f"... (due to {e})") 2024-02-27 19:26:50 +01:00
augustin_s 96497ac6a8 removed _logger where it is not used (anymore) 2024-02-27 11:58:31 +01:00
augustin_s 0371a7209b actually read the data 2024-02-23 16:38:03 +01:00
augustin_s 5e47aa1636 set the file name for the special case 2024-02-21 01:04:46 +01:00
augustin_s 80282eb5b7 str.join and subprocess.run expect sequence of strings 2024-02-21 01:04:10 +01:00
augustin_s 1e3c1e9e0a moved unused code out of code base 2024-02-19 19:14:41 +01:00
augustin_s eabc740240 extended logging message 2024-02-13 15:51:23 +01:00
augustin_s 8b72231e9c simplified pulse ID handling: loop for retry, no re-packing request, exceptions for error handling 2024-02-13 15:48:22 +01:00
augustin_s f9f6e1fee5 removed useless keyword arguments 2024-02-13 15:42:23 +01:00
augustin_s 93bceba874 improved clarity in error messages, logging 2024-02-12 23:22:33 +01:00
augustin_s 1da1da5b17 use idiomatic boolness of python containers; some ordering for easier reading 2024-02-12 19:33:47 +01:00
augustin_s 087dfc9410 consistent argparse wording 2024-02-12 19:33:05 +01:00
augustin_s f1c7975f66 language 2024-02-12 16:08:37 +01:00
augustin_s 7ec7cd169a assign request to variable 2024-02-12 15:55:37 +01:00
augustin_s 1734a42506 removed useless keyword arguments 2024-02-12 15:55:16 +01:00
augustin_s ff985a6e01 naming 2024-02-12 14:55:48 +01:00
augustin_s 3205869b4f took pedestal retrieval out of process_request_internal 2024-02-12 14:29:10 +01:00
augustin_s 4cc9fda767 removed useless keyword arguments 2024-02-12 13:47:13 +01:00
augustin_s c8e7a2c37b split error handling out of long function 2024-02-12 13:43:23 +01:00
augustin_s 1fde092439 forgotten "as e" 2024-02-12 13:36:41 +01:00
augustin_s 0db3168eca added write_start function; clarity in logging and comments; formatting 2024-02-12 13:32:31 +01:00