diff --git a/script/tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py b/script/tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py index a50734e..0fbceff 100644 --- a/script/tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py +++ b/script/tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py @@ -11,8 +11,8 @@ status = False try: print "Running test with the following parameters:" print parameters - loopTimes = parameters["repeatTimes"]["value"] - delaySeconds = parameters["delayS"]["value"] + loopTimes = (int) parameters["repeatTimes"]["value"] + delaySeconds = (int) parameters["delayS"]["value"] except: print "Could not retrieve testing parameters: ", sys.exc_info()[0] ret = 'Could not retrieve testing parameters - ' + traceback.format_exc()