Commit Graph

  • a82a083c67 DAQ: added tell_state handler that creates states based on sse stream from tell in redis. Currently not used in logc, tracking for debugging before implementing. appleb_m 2026-05-04 17:01:07 +02:00
  • e99681ddd8 DAQ: handle critical detector errors, GUI now intercepts and halts automation. Should also throw an error when a detector has a fault during manual collection. appleb_m 2026-05-04 15:36:20 +02:00
  • c60db6798a GUI: tidied up automation panel and made it a little prettier. added timing to events appleb_m 2026-05-04 11:11:17 +02:00
  • e396b7e6a0 tellupdater.py: writing tell events in redis and updating test cases GotthardG 2026-05-04 11:01:44 +02:00
  • 7d8eedbb12 tellupdater.py: better handling of exceptions and logging for TELL events. GotthardG 2026-05-04 09:17:15 +02:00
  • 501a810c11 tellupdater.py: adding listening to more TELL events GotthardG 2026-05-04 08:53:47 +02:00
  • aaa00d030f GUI: automation progress widget bug fix where it sometimes wouldn't update if automation paused or finished. appleb_m 2026-05-01 18:07:50 +02:00
  • 8b441b4bff GUI: automation progress widget updates appleb_m 2026-05-01 17:51:43 +02:00
  • 65b765f870 COMMON: beamline new get_jfjoch_url helper correction to match legacy code appleb_m 2026-05-01 16:53:38 +02:00
  • bda5a0c820 DAQ: placeholder scripts for daq refactor appleb_m 2026-05-01 16:53:17 +02:00
  • 856c2ba34b DAQ/GUI: removed automation workflow manager runner, workflow, models and tidied up GUI/DAQ as it is not in use at the moment. appleb_m 2026-05-01 16:53:03 +02:00
  • f1b7cf35d9 tests: AutomationProgressPanel test appleb_m 2026-05-01 16:20:58 +02:00
  • b99635b22e DAQ: todo reminders for rastering appleb_m 2026-05-01 16:20:42 +02:00
  • 499897cb46 JFJOCH: centralize URL resolution appleb_m 2026-05-01 16:20:28 +02:00
  • e84e2db32b DAQ: add simulate_raster.py for no-beam/simualted detector appleb_m 2026-05-01 15:45:01 +02:00
  • d8567c419e DAQ: assert result from execute_face_detection appleb_m 2026-05-01 15:43:32 +02:00
  • 2bb3ea4e1e GUI: added a todo reminder for when there is beam appleb_m 2026-05-01 15:43:13 +02:00
  • e27d938236 DAQ: updates to find_xtal.py appleb_m 2026-05-01 15:42:18 +02:00
  • fcb615255f GUI: fix bug in rotationdatacollection for single image screening appleb_m 2026-05-01 14:29:13 +02:00
  • ed17af9dec GUI: park and dry toggle when automation finishes. appleb_m 2026-05-01 14:28:49 +02:00
  • f4718d396c DAQ: fix bug in TransformationInvalidException handling and pass this to GUI to stop automation if critical error occurs appleb_m 2026-05-01 14:28:20 +02:00
  • 16fe6e9ef4 DAQ: fix bug in facedetection if result is None. appleb_m 2026-05-01 14:24:57 +02:00
  • 34e8a4bfd5 GUI: added cleaunp, fixed recovery_action bug appleb_m 2026-05-01 10:39:20 +02:00
  • 55e0f7893a workflows: added maintenance2sa and maintenance2se methods appleb_m 2026-05-01 10:38:37 +02:00
  • 56c6675991 DAQ: added more explicit errors in workflows to identify which transformation failed, from where to where appleb_m 2026-05-01 10:38:13 +02:00
  • afbc672c77 DAQ: enabled face dtection messages to db. updated aaredb requirement to 0.1.1a49 appleb_m 2026-04-30 17:09:10 +02:00
  • 65f5205e6f DAQ: updated AutoExposureSettings defaults appleb_m 2026-04-30 17:07:41 +02:00
  • 1865fd3dea DAQ/GUI: updated gui session managmmenet so baton holder is shown in GUI and gui sessions are closed and removed from redis appleb_m 2026-04-30 17:07:03 +02:00
  • 947e142f6e DAQ/GUI updated: gui session handling in daq and gui so staff can now close erroneous GUIs and see who has the baton. Added tests appleb_m 2026-04-30 14:03:10 +02:00
  • 8cd26d54b7 Face_detection: bug in pytest due to same names, refactored face_detection scripts to be utils in daq/operations/face_detection appleb_m 2026-04-30 13:39:25 +02:00
  • 6095dee54a DAQ: bug in using enums for area_detector fixed appleb_m 2026-04-30 13:11:12 +02:00
  • 71de09a11f DAQ: corrected pvs for area detector aoi settings and white balance correction, using enums for manual and auto_once appleb_m 2026-04-30 13:01:46 +02:00
  • a00f0b3dff DAQ: updated face_detection added operations/face_detection fodler including service and models, new tests of face_detection appleb_m 2026-04-30 12:44:55 +02:00
  • 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 appleb_m 2026-04-30 12:44:02 +02:00
  • df84850941 Update to version 0.3.1 appleb_m 2026-04-29 17:34:41 +02:00
  • 07451b5aa3 LOOP_CENTERING: split loop centering from main daq script and add unit tests appleb_m 2026-04-29 17:23:03 +02:00
  • 2c2221ce31 raster/rotation: wait until running jfjoch added, order in which events occur changes so detector intiailisation starts while beamline is being configured appleb_m 2026-04-29 17:22:22 +02:00
  • 715b8ba417 mount_handling: added mount_handler and mount_fail_handler as well as redis mount_count, WIP appleb_m 2026-04-29 17:20:57 +02:00
  • 84bb350d21 automation_api_router.py: remove superfluous imports appleb_m 2026-04-29 17:19:04 +02:00
  • 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. appleb_m 2026-04-28 15:23:24 +02:00
  • 29a8f8198f DAQ: added screenshot wait argument to raster and loop_centre, howerever it should be in screenshot itself, to be updated appleb_m 2026-04-28 15:07:44 +02:00
  • ff772ef487 DAQ: added back mount_handler logic - to be tested. appleb_m 2026-04-28 15:07:15 +02:00
  • 95384d175a test: fixed bug in workflow test appleb_m 2026-04-28 15:01:58 +02:00
  • 6f44da0078 tests: added tests for aerotech, models, autofocus, automation, beamline, diffraction_geometry, enum_pv, face_detection_find_xtal, jfjoch_client, mlbox, my_motor, spreadsheet_updater and worfkflows appleb_m 2026-04-28 14:35:54 +02:00
  • 3c5921714b pyproject.toml: jfjoch dependency update to rc138 0.3.0 appleb_m 2026-04-28 14:29:14 +02:00
  • b212f0d081 workflows: allow xtal_snapshot to go to any state appleb_m 2026-04-28 14:28:53 +02:00
  • d307b049bc gitea: fix os error in login.py and auth.py appleb_m 2026-04-28 14:25:03 +02:00
  • 98fba7ec53 jfjoch: refactored so fomrat_dataset_settings is one funcution, added newenum for scantypes. appleb_m 2026-04-28 14:14:18 +02:00
  • 386df67557 jfjoch: added new wait_till_running method and updated wait_tilldone logging appleb_m 2026-04-28 14:13:58 +02:00
  • 4ac17f1117 facedetection - catch warning if doesnt tend towards a fit appleb_m 2026-04-28 14:13:06 +02:00
  • 9df27b3a13 spreadsheetupdater.py updated json to moduel_dump_json appleb_m 2026-04-28 14:11:44 +02:00
  • 8f9022862b gitea workflows: conftest removed mock imports appleb_m 2026-04-28 14:10:00 +02:00
  • bdd62ebc48 gitea workflows: updated action.yaml to remove PYTEST_DISBALE_PLUGIN_AUTOLOAD appleb_m 2026-04-28 13:58:14 +02:00
  • f4b2bb0112 gitea workflows: updated action.yaml to include python env debugging appleb_m 2026-04-28 13:48:07 +02:00
  • f95f868fc4 gitea workflows: updated action.yaml appleb_m 2026-04-28 13:47:01 +02:00
  • 9cc11597d7 gitea workflows: updated conftest adn becworker to handle no pxii_bec import appleb_m 2026-04-28 13:31:24 +02:00
  • bef4193d8f gitea workflows: updated pyproject toml dependencies, tellupdater updates and fix error in test_beamcenter_fit_no_contours appleb_m 2026-04-27 17:20:29 +02:00
  • 02cfbde470 gitea workflows: tellupdater dependendency on mx_beamline() moved to if __name__=="main". and put if name is None: return MXBeamline.SIMULATED. appleb_m 2026-04-27 17:08:08 +02:00
  • e76be9fe25 gitea workflows: MX_BEAMLINE should be BEAMLINE appleb_m 2026-04-27 17:01:36 +02:00
  • c9463583bc gitea workflows: added missing dependency imports, remove redundant mlbox_logic test, update workdflows and bec_worker due to local import appleb_m 2026-04-27 16:58:38 +02:00
  • 7f6bd788e2 gitea workflows: added missing dependency imports appleb_m 2026-04-27 16:10:05 +02:00
  • c9daf576c3 gitea workflows: simulating imports for aarescan and aarelcinfer appleb_m 2026-04-27 16:06:52 +02:00
  • 93c88ef0cf gitea workflows: added logging_dev.yaml appleb_m 2026-04-27 14:36:00 +02:00
  • 6e2113f23c gitea workflows: action.yaml qt test bug appleb_m 2026-04-27 14:32:40 +02:00
  • 73da8ba713 gitea workflows: action.yaml indent bug appleb_m 2026-04-27 14:25:52 +02:00
  • 20b868c083 gitea workflows: fix pytest dependency bug and add bec_lib to dependencies appleb_m 2026-04-27 14:21:56 +02:00
  • 7182a13820 gitea workflows: fix pytest dependency bug appleb_m 2026-04-27 14:19:17 +02:00
  • bc0b07c814 gitea wofkflows: fix aaredb install bug appleb_m 2026-04-27 12:07:53 +02:00
  • dae218fbc6 gitea wofkflows: fix aaredb install bug appleb_m 2026-04-27 12:06:37 +02:00
  • 37ba313925 gitea wofkflows: fix bug appleb_m 2026-04-27 12:04:37 +02:00
  • aec8e7befc pyproject.toml: updated aaredb to 0.1.1a45 appleb_m 2026-04-27 12:02:04 +02:00
  • a146d0b5d7 gitea: added tests to action.yaml appleb_m 2026-04-27 11:57:50 +02:00
  • 4eb50b0deb tests: added further unit tests. appleb_m 2026-04-27 11:57:36 +02:00
  • 6aaf13ea4f gui: now gui.py is wrapped ina main() function. allows for better tests appleb_m 2026-04-27 11:56:30 +02:00
  • 9653f7c974 daq: testing helpers to make some functions noncritical and therefore not break automation... appleb_m 2026-04-27 11:56:07 +02:00
  • 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. appleb_m 2026-04-27 11:55:31 +02:00
  • 828e534e49 raster: catch diffracton_iamge_get error, but allow automation etc to continue appleb_m 2026-04-27 11:54:34 +02:00
  • e6e514ec2a JFJOCH: added retry to get_diffraction_image with wait_between_retries_s default of 0.1 s appleb_m 2026-04-27 11:53:33 +02:00
  • 8a093fec28 server: added missing app.get for beamline/image endpoint appleb_m 2026-04-27 11:52:52 +02:00
  • bbd251b3af tell_updater: fixed aaredb import appleb_m 2026-04-27 11:52:27 +02:00
  • f48c9702f4 sse_client.py: added missing imports appleb_m 2026-04-27 11:52:08 +02:00
  • 2e89d6d1ec workflow_tools.py - fixed sevveral bugs in wait_position where eval would cause an exception but shouldnt appleb_m 2026-04-27 11:51:34 +02:00
  • cc2c339210 autofocus_tools.py: fixed bug so mask.sum() always prints appleb_m 2026-04-27 11:50:50 +02:00
  • 87e375d2a9 add crystal-detection methods and synthetic raster simulation for no-beam condition find_crystal_from_gridscan duan_j 2026-04-24 17:06:01 +02:00
  • e942fc71ea add a mock grid simulation option at no_beam condition, default to be false duan_j 2026-04-24 17:03:01 +02:00
  • b8ee008477 logging: attempted to standardise logging, in particular timing of functions with a wrapper, focus on raster and timing at the moment. appleb_m 2026-04-24 14:53:09 +02:00
  • c73075fb7f tests: removed time_db tests from aaredb as have standardised this wrapper appleb_m 2026-04-24 14:52:16 +02:00
  • 7168f5512d tests: added gui tests and furtehr tests in daq and common appleb_m 2026-04-24 14:52:00 +02:00
  • 35d747c785 tests: added raster_grid and raster logic tests appleb_m 2026-04-24 14:22:32 +02:00
  • 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 appleb_m 2026-04-24 14:19:36 +02:00
  • d856b77b7d beamcenterfit.py: return None instead of exit() appleb_m 2026-04-24 14:17:38 +02:00
  • 6ca853bc17 tests: added aaredb wrapper test appleb_m 2026-04-24 11:48:54 +02:00
  • 8e4a5906bf aaredb: added a timeing debug wrapper to aaredb, to track responses. Removed ToDos! appleb_m 2026-04-24 11:48:31 +02:00
  • 1649d6e1a4 aaredb: fixed a bug in case the payload_model is None. appleb_m 2026-04-24 11:46:58 +02:00
  • 37b6755410 DAQ: now sending mounting and unmounting messages to database appleb_m 2026-04-24 11:15:57 +02:00
  • 761d78a918 DAQ: raster, fix bug where there was an incorrect state call, added wait varaible before screenshot, default set to 200 ms. appleb_m 2026-04-24 11:07:41 +02:00
  • 864f195c71 tests: added tests for coordinate and models appleb_m 2026-04-24 11:01:39 +02:00
  • c233bd333d tests: added tests for daq_server, error_codes, exception_handler and tell_client appleb_m 2026-04-24 10:48:09 +02:00
  • e5ffbb9b18 Server: updated server_exception_handler.py and also error_codes.py to cover all custom exceptions appleb_m 2026-04-23 17:22:36 +02:00
  • 0685d35086 TELL: moved custom exceptions from backend to common/exception_handler appleb_m 2026-04-23 17:22:14 +02:00