Commit 1d5a4f7a authored by bliss administrator's avatar bliss administrator
Browse files

fscan exception handling

parent 80f65d36
Pipeline #77227 failed
......@@ -395,6 +395,9 @@ class ID26FScanController:
#mot_group.move(*backlash_movement)
nbsteps = round((energy_end - energy_start) / (energy_step))
assert nbsteps>0, f"energy step too large ({energy_step}) for that energy scan range ({energy_end - energy_start})"
nbpoints = int(nbsteps) + 1
if self.fscan_par["id_linked"] == 1:
......
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