fix: set zoom to 300 for auto xray center grid prediction
CI / lint (pull_request) Successful in 44s
CI / test (3.14) (pull_request) Successful in 1m4s
CI / test (3.13) (pull_request) Successful in 1m16s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m11s
CI / test (3.12) (pull_request) Successful in 1m56s
CI / test-with-coverage (pull_request) Successful in 1m41s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m50s
CI / coverage-analysis (pull_request) Failing after 6s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 2m7s
Docs build and publish / docker (push) Successful in 4s
CI / lint (push) Canceled after 43s
CI / test (3.12) (push) Canceled after 40s
CI / test (3.13) (push) Canceled after 38s
CI / test-with-coverage (push) Canceled after 25s
CI / test (3.14) (push) Canceled after 35s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 33s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 30s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 28s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 19s
CI / lint (pull_request) Successful in 44s
CI / test (3.14) (pull_request) Successful in 1m4s
CI / test (3.13) (pull_request) Successful in 1m16s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m11s
CI / test (3.12) (pull_request) Successful in 1m56s
CI / test-with-coverage (pull_request) Successful in 1m41s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m50s
CI / coverage-analysis (pull_request) Failing after 6s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 2m7s
Docs build and publish / docker (push) Successful in 4s
CI / lint (push) Canceled after 43s
CI / test (3.12) (push) Canceled after 40s
CI / test (3.13) (push) Canceled after 38s
CI / test-with-coverage (push) Canceled after 25s
CI / test (3.14) (push) Canceled after 35s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 33s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 30s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 28s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 19s
This commit was merged in pull request #190.
This commit is contained in:
@@ -1280,6 +1280,7 @@ class AareDAQ:
|
||||
raster_service = self._create_raster_service()
|
||||
|
||||
if auto_center:
|
||||
self.zoom = 300
|
||||
setup_request = copy.deepcopy(grid_request)
|
||||
setup_request.smargon_top_left = None
|
||||
self._setup_datacollection(request=setup_request)
|
||||
|
||||
@@ -712,9 +712,6 @@ class RasterService:
|
||||
)
|
||||
return None
|
||||
|
||||
# Zoom so the loop fills at most 1/3 of the frame before the first raster.
|
||||
# The grid was built from this same detection (no re-predict).
|
||||
self._apply_zoom_to_fit(plan)
|
||||
r = plan.grid_request
|
||||
|
||||
self.logger.info(
|
||||
|
||||
Reference in New Issue
Block a user