Tests for coercing stack params to valid values.

Co-authored with Julian Stirling
This commit is contained in:
Joe Knapper 2025-10-09 13:56:03 +01:00
parent fa6fdb1a67
commit 089beae01a
3 changed files with 111 additions and 4 deletions

View file

@ -538,7 +538,7 @@ class AutofocusThing(lt.Thing):
images_to_save = 1
elif images_to_save > min_images_to_test:
logger.warning(
f"Cannot save {min_images_to_test} images as this above the minimum "
f"Cannot save {images_to_save} images as this above the minimum "
f"number to test. Setting images to save to {MAX_TEST_IMAGE_COUNT}."
)
images_to_save = min_images_to_test