Commit Graph
339 Commits
Author SHA1 Message Date
appleb_m c9463583bc gitea workflows: added missing dependency imports, remove redundant mlbox_logic test, update workdflows and bec_worker due to local import
Build and Publish / test (push) Failing after 1m11s
Build and Publish / build (push) Has been skipped
Build and Publish / Build and Deploy Docs (push) Has been skipped
2026-04-27 16:58:38 +02:00
appleb_m 93c88ef0cf gitea workflows: added logging_dev.yaml
Build and Publish / test (push) Failing after 1m5s
Build and Publish / build (push) Has been skipped
Build and Publish / Build and Deploy Docs (push) Has been skipped
2026-04-27 14:36:00 +02:00
appleb_m 6aaf13ea4f gui: now gui.py is wrapped ina main() function. allows for better tests 2026-04-27 11:56:30 +02:00
appleb_m 9653f7c974 daq: testing helpers to make some functions noncritical and therefore not break automation... 2026-04-27 11:56:07 +02:00
appleb_m ba86ab4663 daq: fixed bug in mount where if current sample was manual it had no tell address so could not be set as "unmounted" - even if it was unmounted already. 2026-04-27 11:55:31 +02:00
appleb_m 828e534e49 raster: catch diffracton_iamge_get error, but allow automation etc to continue 2026-04-27 11:54:34 +02:00
appleb_m e6e514ec2a JFJOCH: added retry to get_diffraction_image with wait_between_retries_s default of 0.1 s 2026-04-27 11:53:33 +02:00
appleb_m 8a093fec28 server: added missing app.get for beamline/image endpoint 2026-04-27 11:52:52 +02:00
appleb_m bbd251b3af tell_updater: fixed aaredb import 2026-04-27 11:52:27 +02:00
appleb_m f48c9702f4 sse_client.py: added missing imports 2026-04-27 11:52:08 +02:00
appleb_m 2e89d6d1ec workflow_tools.py - fixed sevveral bugs in wait_position where eval would cause an exception but shouldnt 2026-04-27 11:51:34 +02:00
appleb_m cc2c339210 autofocus_tools.py: fixed bug so mask.sum() always prints 2026-04-27 11:50:50 +02:00
appleb_m b8ee008477 logging: attempted to standardise logging, in particular timing of functions with a wrapper, focus on raster and timing at the moment. 2026-04-24 14:53:09 +02:00
appleb_m 3b39bb2144 raster: now do auto_centre_line_scan based off of target_y instead of just above and below beam cente, if target avaialble, now submit iamges to databse, reduced number of significant figures inr aster message to db, grid_to_image and iamge_to_grid fucntions 2026-04-24 14:19:36 +02:00
appleb_m d856b77b7d beamcenterfit.py: return None instead of exit() 2026-04-24 14:17:38 +02:00
appleb_m 8e4a5906bf aaredb: added a timeing debug wrapper to aaredb, to track responses. Removed ToDos! 2026-04-24 11:48:31 +02:00
appleb_m 1649d6e1a4 aaredb: fixed a bug in case the payload_model is None. 2026-04-24 11:46:58 +02:00
appleb_m 37b6755410 DAQ: now sending mounting and unmounting messages to database 2026-04-24 11:15:57 +02:00
appleb_m 761d78a918 DAQ: raster, fix bug where there was an incorrect state call, added wait varaible before screenshot, default set to 200 ms. 2026-04-24 11:07:41 +02:00
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