Max_range cant be negative
This commit is contained in:
parent
dbe8634041
commit
2c532e11c8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue