From eaa7d808d7c36b62d3df482ee4e09899151d7b0b Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Thu, 8 Feb 2018 15:03:31 +0100 Subject: [PATCH] Script execution --- script/test/HoloFlyScan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/test/HoloFlyScan.py b/script/test/HoloFlyScan.py index f2007816..f773f042 100644 --- a/script/test/HoloFlyScan.py +++ b/script/test/HoloFlyScan.py @@ -52,7 +52,7 @@ try: ManipulatorPhi.waitValueInRange(phi, 1.0, 100) print time.time(), " cscan: start" try: - cscan(ManipulatorTheta, SENSORS, THETA_RANGE[0], THETA_RANGE[1], THETA_NSTEPS, time=theta_time, before_read=before_readout, after_read = after_readout) + cscan(ManipulatorTheta, SENSORS, THETA_RANGE[0], THETA_RANGE[1], THETA_NSTEPS - 1, time=theta_time, before_read=before_readout, after_read = after_readout) print time.time(), " cscan: end" except ContinuousScanFollowingErrorException: print time.time(), " cscan: exception"