Commit Graph
320 Commits
Author SHA1 Message Date
appleb_m e5ffbb9b18 Server: updated server_exception_handler.py and also error_codes.py to cover all custom exceptions
Build and Publish / build (push) Successful in 19s
Build and Publish / Build and Deploy Docs (push) Successful in 58s
2026-04-23 17:22:36 +02:00
appleb_m 0685d35086 TELL: moved custom exceptions from backend to common/exception_handler 2026-04-23 17:22:14 +02:00
appleb_m 900b123645 GUI: wired in new state changes for beamline state panel 2026-04-23 17:21:38 +02:00
appleb_m 8fe5183f8e GUI/DAQ: allowed beamline_state_panel to move to states such as DC and RSE if transitiion is allowed (harder to define) 2026-04-23 17:21:19 +02:00
appleb_m 1cdb39af73 Workflows: xtalSNapshot settings in progress 2026-04-23 13:49:58 +02:00
appleb_m 02ceb63a7a DAQ/GUI: fixed a raster bug where it was either moving to smargon 0, or not moving to the start of the mlbox. 2026-04-23 13:49:43 +02:00
appleb_m 9c15a7ac5e DAQ: big update, added an automation progress panel to the gui, and wired it up. IT is now using redis persistently across multiple workers. 2026-04-23 13:49:15 +02:00
appleb_m d7c7d03788 DAQ: fixed bugs in raster calls and updated error handling in raster and rotation scans 2026-04-23 11:00:32 +02:00
appleb_m 17815b1503 DAQ: added new exceptions to exception_handler.py for raster and data collection 2026-04-23 10:59:58 +02:00
appleb_m 2a31544aba GUI: added beamline_state_panel.py with station widgets to GUI 2026-04-23 10:59:17 +02:00
appleb_m 01f1819551 GUI: removed superfluous comment 2026-04-23 10:59:01 +02:00
appleb_m 45aa58c1f7 GUI: status bar uses new BeamlineStateEnum display_name 2026-04-23 10:58:39 +02:00
appleb_m 43105ebc3b Models: beamline state enum now has a function called display name to give uniform strings whenever needed 2026-04-23 10:58:24 +02:00
appleb_m 9938ba74a0 DAQ: added initialisation for auto exposure in DAQ devices 2026-04-23 10:57:14 +02:00
appleb_m c4ea023f8e DAQ: refactored measure_raster to use auto_center flag instead of auto to be more explicit and to avoid shadowing outer scope 2026-04-23 08:12:54 +02:00
appleb_m 9aaa664c44 models: fixed pydantic deprecation warning 2026-04-23 07:56:27 +02:00
appleb_m 833416b5e0 Logs: moved default logging location to tmp on mx-queue 2026-04-23 07:56:04 +02:00
appleb_m 198170d5c4 models: reformated DCP model to be easier to read 2026-04-22 17:00:46 +02:00
appleb_m 271bc3c543 daq: go back to sample alignment state after raster. 2026-04-22 17:00:30 +02:00
appleb_m 7f2de4de0e config: removed superfluos import 2026-04-22 17:00:09 +02:00
appleb_m 2fc25cc7f5 spreadsheetupdater.py: only check for password when needing WSHEADERS 2026-04-22 16:57:32 +02:00
appleb_m 3ea95367ed SCRIPTS:moved two scripts and renamed so it does not hit the pytest 2026-04-22 16:56:11 +02:00
appleb_m 64b7089ed4 GUI: todo note - if we use zmq and pred stream form same source can we combine instead of having two image streams? 2026-04-22 16:09:12 +02:00
appleb_m c398afa6b6 DAQ: organising operation handlers, state changes 2026-04-22 16:08:34 +02:00
appleb_m 405806518c DAQ: trying to tidy up aaredb error communication in raster scans 2026-04-22 16:06:41 +02:00
appleb_m 1df0ada163 GUI: added shortcuts and to info to the README.md 2026-04-22 16:05:57 +02:00
appleb_m 7e0a27f992 GUI: added shortcuts and a helper 2026-04-22 16:05:37 +02:00
appleb_m 2802a72e43 Workflows: added some state changes, trialing auto_exposure, todo how to safely, or more safely import bec macros 2026-04-22 16:05:21 +02:00
appleb_m 8698d4e495 DAQ/Server: added auto_exposure end point, removed commented out code from autofocus and started a blower_control function 2026-04-22 16:03:31 +02:00
appleb_m c780a6aedb tell: added anneal in and out plus blower toggle 2026-04-22 13:26:59 +02:00
appleb_m b9b253f6fb GUI: improved performance for prediction subscriber, prediction_metrics_panel.py and target_stability_panel.py. 2026-04-22 11:35:44 +02:00
appleb_m 6a6d183284 GUI: improved performance for dense compelted heat maps 2026-04-22 11:35:11 +02:00
appleb_m 3c4a500b4c GUI: Improved performance of GUI with large reaster grids by throttle Raster grid drawing to 25 Hz, change geometry of the drawn grid only to imrpove speed - draw less lines particulalrly when cells are less than 2 px. 2026-04-22 11:27:57 +02:00
appleb_m c05969a02b TELL: added http exception hadnling so we don't swallow tell errors. Added pin blower control functions. 2026-04-22 10:19:52 +02:00
appleb_m 2920a38647 GUI: wired panels into main_window and added to Qswettings, Qsettings needs tidying 2026-04-22 10:19:01 +02:00
appleb_m 80008891ef GUI: added a target stability panel and a predicition metrics panel - needs tidying! 2026-04-22 10:18:39 +02:00
appleb_m 9a1030a2aa aarelc_infer.py: will eventually use gpu-003 2026-04-22 10:17:54 +02:00
appleb_m a5603918d1 GUI: seperated out show polygons from show detections 2026-04-22 10:12:24 +02:00
appleb_m 39e53d65cd DAQ: changes to ALC to handle Sample ShortInfo instead of sample.db_id. Debugging of ALC logic in progress 2026-04-22 10:11:21 +02:00
appleb_m 0d0953c74c DAQ\/AareDB: centralise message handling to the database 2026-04-22 10:10:44 +02:00
appleb_m a7b83e7a9d GUI: added legend to the GUI, target position display. 2026-04-20 17:26:49 +02:00
appleb_m 5cbc0171f3 GUI: visualisation of target position added to GUI 2026-04-20 16:14:18 +02:00
appleb_m 6e5de34d46 BEC: bug in generating the states for the statemanager - fixed 2026-04-20 16:14:02 +02:00
appleb_m a0aff79675 GUI: added protection against smargon and raster moves while camera is off 2026-04-20 15:21:43 +02:00
appleb_m 0bbe070776 Logging: suprress sample/reference_tools and sample/spreadsheet success messages but keep failures. Should be disabled when debugging. 2026-04-20 12:06:05 +02:00
appleb_m 65e6e22e2d Exceptions: added an UnmountingFailed exception 2026-04-20 12:05:41 +02:00
appleb_m 8f75b466b7 Models: added DAQOperation Enum and LoopCenteringResult dataclass. Corrected some whitespace formatting 2026-04-20 11:47:14 +02:00
appleb_m e8086b9a0e DAQ: server.py moved LOGGING_CONFIG to logger_config.py, now imported via a function 2026-04-20 09:47:48 +02:00
appleb_m 52c90abc70 DAQ: tidied up logging in server.py, added a filter to uvicron access so it does not log successful status access requests, this should be enabled if status debugging is needed, for example if status polling is causing lag. 2026-04-20 09:46:53 +02:00
appleb_m 5f05d92e91 DAQ: removed unnessacery imports from server.py 2026-04-20 09:45:00 +02:00