Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
This commit is contained in:
parent
283a10c560
commit
c4dc357cf3
1 changed files with 1 additions and 2 deletions
|
|
@ -632,8 +632,7 @@ class SmartScanThing(Thing):
|
|||
if autofocus_sharp_enough:
|
||||
return True, self._stage.position["z"]
|
||||
else:
|
||||
z = this_xyz[2]
|
||||
self._stage.move_absolute(z=z)
|
||||
self._stage.move_absolute(z=this_xyz[2])
|
||||
|
||||
self._scan_logger.warning("Could not autofocus after 3 attempts.")
|
||||
return False, self._stage.position["z"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue