Max_range cant be negative

This commit is contained in:
jaknapper 2026-02-24 12:45:42 +00:00
parent dbe8634041
commit 2c532e11c8

View file

@ -290,7 +290,7 @@ class HistoScanWorkflow(RectGridWorkflow[HistoScanSettingsModel]):
This uses the settings from the ``BackgroundDetectThing``.
"""
max_range: int = lt.setting(default=45000)
max_range: int = lt.setting(default=45000, ge=0)
"""The maximum distance in steps from the centre of the scan."""
# Stacking settings