Commit 618ddde4 authored by bliss administrator's avatar bliss administrator
Browse files

dfscan undulators cleanup fix

parent 8a77e0b5
......@@ -69,7 +69,10 @@ def dfscan(
FSCAN_PAR["mono_move_back"] = value
FSCAN_PAR["mono_move_back"] = 0
axis_list = [FSCAN.mono] + list(FSCAN._get_id_tracked())
axis_list = [FSCAN.mono]
if FSCAN_PAR["id_linked"]:
axis_list += list(FSCAN._get_id_tracked())
with cleanup(_cleanup):
with cleanup (*axis_list, restore_list=(cleanup_axis.POS,)):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment