style: format
CI / lint (pull_request) Successful in 40s
CI / test (3.12) (pull_request) Successful in 1m12s
CI / test (3.13) (pull_request) Successful in 1m13s
CI / test (3.14) (pull_request) Successful in 1m12s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m22s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m25s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m32s
CI / test-with-coverage (pull_request) Successful in 1m46s
CI / coverage-analysis (pull_request) Failing after 3s
Docs build and publish / docker (push) Successful in 20s
CI / lint (push) Successful in 43s
CI / test (3.12) (push) Canceled after 52s
CI / test (3.13) (push) Canceled after 48s
CI / test (3.14) (push) Canceled after 47s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 38s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 43s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 42s
CI / test-with-coverage (push) Canceled after 37s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 39s

This commit was merged in pull request #230.
This commit is contained in:
perl_d committed 2026-09-16 10:36:34 +02:00
1 parent fab6e8ed30
commit 21a462d4df
2 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -1276,7 +1276,9 @@ class AareDAQ:
CompletedRasterGrid result or None if failed
"""
if self.sample is None:
raise RasterScanException("Please load a sample before running a raster scan. If you have manually mounted a sample, create its record in the 'Manual sample' panel.")
raise RasterScanException(
"Please load a sample before running a raster scan. If you have manually mounted a sample, create its record in the 'Manual sample' panel."
)
try:
logger.info(
"Starting raster sequence",
+3 -1
View File
@@ -521,7 +521,9 @@ class RasterService:
)
raise RasterScanException("JFJoch returned no ScanResult for raster")
else:
truncated_images = scan_result.images[:3] if len(scan_result.images) > 3 else scan_result.images
truncated_images = (
scan_result.images[:3] if len(scan_result.images) > 3 else scan_result.images
)
self.logger.debug(
f"Raster scan results from JFJoch: file {scan_result.file_prefix} with images {truncated_images} ..."
)