Fix tests now we dont do extra backlash moves

This commit is contained in:
Joe Knapper 2026-03-10 15:04:42 +00:00 committed by Joe Knapper
parent b43150c8bb
commit 5ce77538d1
2 changed files with 2 additions and 98 deletions

View file

@ -775,8 +775,8 @@ class AutofocusThing(lt.Thing):
target_offset = -total_range
else:
target_offset = 0
self._stage.move_relative(z=target_offset)
if target_offset != 0:
self._stage.move_relative(z=target_offset)
# Capture images_to_save images
for move_count in range(stack_parameters.images_to_save):