Commit Graph
359 Commits
Author SHA1 Message Date
appleb_m 71de09a11f DAQ: corrected pvs for area detector aoi settings and white balance correction, using enums for manual and auto_once 2026-04-30 13:01:46 +02:00
appleb_m a00f0b3dff DAQ: updated face_detection added operations/face_detection fodler including service and models, new tests of face_detection
Build and Publish / test (push) Failing after 1m4s
Build and Publish / Build and Deploy Docs (push) Has been skipped
Build and Publish / build (push) Has been skipped
2026-04-30 12:44:55 +02:00
appleb_m 2b7c634227 GUI/DAQ: track active guis and allow staff to force close sessions if needed. GUI's should autoclose if no interaction or uaomation after a grace period. REDIS should clear close GUIS after 10 minutes of no status updates
Build and Publish / test (push) Successful in 1m23s
Build and Publish / build (push) Successful in 16s
Build and Publish / Build and Deploy Docs (push) Successful in 35s
2026-04-30 12:44:02 +02:00
appleb_m df84850941 Update to version 0.3.1
Build and Publish / test (push) Successful in 1m31s
Build and Publish / build (push) Successful in 17s
Build and Publish / Build and Deploy Docs (push) Successful in 36s
2026-04-29 17:34:41 +02:00
appleb_m 07451b5aa3 LOOP_CENTERING: split loop centering from main daq script and add unit tests 2026-04-29 17:23:03 +02:00
appleb_m 2c2221ce31 raster/rotation: wait until running jfjoch added, order in which events occur changes so detector intiailisation starts while beamline is being configured 2026-04-29 17:22:22 +02:00
appleb_m 715b8ba417 mount_handling: added mount_handler and mount_fail_handler as well as redis mount_count, WIP 2026-04-29 17:20:57 +02:00
appleb_m 84bb350d21 automation_api_router.py: remove superfluous imports 2026-04-29 17:19:04 +02:00
appleb_m c1db7a8d8a DAQ: refactored MLBOX and loop_Centering MLBOXTYPe. Loop_centering should no longer move if the only class found is pin, ice or needle. Refactored tests.
Build and Publish / test (push) Successful in 1m18s
Build and Publish / build (push) Successful in 14s
Build and Publish / Build and Deploy Docs (push) Successful in 35s
2026-04-28 15:23:24 +02:00
appleb_m 29a8f8198f DAQ: added screenshot wait argument to raster and loop_centre, howerever it should be in screenshot itself, to be updated 2026-04-28 15:07:44 +02:00
appleb_m ff772ef487 DAQ: added back mount_handler logic - to be tested. 2026-04-28 15:07:15 +02:00
appleb_m b212f0d081 workflows: allow xtal_snapshot to go to any state 2026-04-28 14:28:53 +02:00
appleb_m d307b049bc gitea: fix os error in login.py and auth.py
Build and Publish / test (push) Successful in 1m29s
Build and Publish / build (push) Successful in 18s
Build and Publish / Build and Deploy Docs (push) Successful in 38s
2026-04-28 14:25:03 +02:00
appleb_m 98fba7ec53 jfjoch: refactored so fomrat_dataset_settings is one funcution, added newenum for scantypes. 2026-04-28 14:14:18 +02:00
appleb_m 386df67557 jfjoch: added new wait_till_running method and updated wait_tilldone logging 2026-04-28 14:13:58 +02:00
appleb_m 4ac17f1117 facedetection - catch warning if doesnt tend towards a fit 2026-04-28 14:13:06 +02:00
appleb_m 9df27b3a13 spreadsheetupdater.py updated json to moduel_dump_json 2026-04-28 14:11:44 +02:00
appleb_m 9cc11597d7 gitea workflows: updated conftest adn becworker to handle no pxii_bec import
Build and Publish / test (push) Failing after 1m13s
Build and Publish / build (push) Has been skipped
Build and Publish / Build and Deploy Docs (push) Has been skipped
2026-04-28 13:31:24 +02:00
appleb_m bef4193d8f gitea workflows: updated pyproject toml dependencies, tellupdater updates and fix error in test_beamcenter_fit_no_contours
Build and Publish / test (push) Failing after 1m43s
Build and Publish / build (push) Has been skipped
Build and Publish / Build and Deploy Docs (push) Has been skipped
2026-04-27 17:20:29 +02:00
appleb_m 02cfbde470 gitea workflows: tellupdater dependendency on mx_beamline() moved to if __name__=="main". and put if name is None: return MXBeamline.SIMULATED.
Build and Publish / test (push) Failing after 1m32s
Build and Publish / build (push) Has been skipped
Build and Publish / Build and Deploy Docs (push) Has been skipped
2026-04-27 17:08:08 +02:00
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