workflows: fixed bug where safe_positon check was looking at the desired dtz position
This commit is contained in:
1 parent
0af58574b2
commit
aea43a31cc
1 file changed
+1
-1
@@ -15,7 +15,7 @@ SAFE_POSITION = 600
|
||||
|
||||
def _move_detector_to_safe_position_if_needed(devs: BeamlineDevices, cfg: BeamlineConfig):
|
||||
safe_position = cfg.dtz_safe_position
|
||||
current_dtz = cfg.dtz
|
||||
current_dtz = devs.dtz
|
||||
|
||||
if safe_position is None:
|
||||
logger.debug("No dtz_safe_position configured; skipping detector move")
|
||||
|
||||
Reference in new issue
Block a user