fix: improve log messages
CI / lint (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
CI / lint (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
This commit is contained in:
@@ -486,7 +486,7 @@ class RasterService:
|
||||
|
||||
com = raster_highest_score(scan_result.images)
|
||||
if com is None:
|
||||
self.logger.info("Calcualted COM is None using centre image")
|
||||
self.logger.info("Calcualted COM is None -> using centre image")
|
||||
if request.n_x == 1:
|
||||
x = request.grid_size_mm.x / 2.0
|
||||
else:
|
||||
@@ -515,7 +515,7 @@ class RasterService:
|
||||
),
|
||||
)
|
||||
else:
|
||||
self.logger.info("Calcualted COM is not None, procedding")
|
||||
self.logger.info("Calcualted COM is not None, proceeding")
|
||||
target_coor = com.get_com_mm(request)
|
||||
target_coor_offset = self.ctx.sample_geometry.smargon_nudge(target_coor)
|
||||
self.logger.info(
|
||||
|
||||
@@ -877,7 +877,6 @@ class SampleCameraImageLabel(QGraphicsView):
|
||||
case SampleCameraImageState.IDLE:
|
||||
point = self.mapToScene(event.pos())
|
||||
if not self.scene.sceneRect().contains(point):
|
||||
logger.error("Point is outside scene bounds")
|
||||
return
|
||||
|
||||
if event.modifiers() & Qt.KeyboardModifier.ShiftModifier:
|
||||
|
||||
Reference in New Issue
Block a user