diff --git a/script/optics/FocusYRotScan.py b/script/optics/FocusYRotScan.py index 5119ed8b..dcb5f632 100644 --- a/script/optics/FocusYRotScan.py +++ b/script/optics/FocusYRotScan.py @@ -52,9 +52,9 @@ try: print "speed: ", SPEED print "scan time: ", fly_time - cscan(MOTOR, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, fly_time, RELATIVE, before_read=before_readout, after_read = after_readout, check_positions = False) + cscan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, fly_time, RELATIVE, before_read=before_readout, after_read = after_readout, check_positions = False) else: - lscan(MOTOR, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, before_read=before_readout, after_read = after_readout) + lscan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, before_read=before_readout, after_read = after_readout) finally: if ENDSCAN: after_scan()