fix: Sleep 2 seconds between grid and rotation - proper fix
CI / lint (pull_request) Successful in 1m7s
CI / test (3.12) (pull_request) Successful in 1m32s
CI / test (3.13) (pull_request) Successful in 1m32s
CI / test (3.14) (pull_request) Successful in 1m34s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m37s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m44s
CI / test-with-coverage (pull_request) Successful in 1m54s
CI / coverage-analysis (pull_request) Failing after 4s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m10s
Docs build and publish / docker (push) Successful in 3s
CI / coverage-analysis (push) Canceled after 0s
CI / test-with-coverage (push) Canceled after 34s
Build and Publish / release (push) Successful in 47s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 44s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 45s
CI / test (3.12) (push) Canceled after 1m20s
CI / lint (push) Canceled after 1m19s
CI / test (3.13) (push) Canceled after 48s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 48s
CI / test (3.14) (push) Canceled after 1m23s

This commit was merged in pull request #248.
This commit is contained in:
2026-10-01 09:56:26 +02:00
parent 134a1ce02d
commit 84a871122a
+2 -2
View File
@@ -2570,6 +2570,8 @@ class AareDAQ:
self._mark_progress_failed(progress, WorkflowStateKind.RASTER, "Raster failed")
return self._end_operation(start, DAQOperation.RASTER, error=True)
time.sleep(2)
self._validate_automation_state(context="after raster")
self._mark_progress_success(progress, WorkflowStateKind.RASTER, "Raster complete")
self._set_state(BeamlineStateEnum.DataCollection)
@@ -2601,8 +2603,6 @@ class AareDAQ:
logger.info(f"Using filename {params.filename}")
sample_prefix = f"{params.filename}/{sample.sample_name}"
time.sleep(2)
rotation_request = RotationScanRequest(
start_omega_deg=start_omega,
dtz=params.dtz,