From 9d9d0b105658591a81406fd76805acb4bee1f9c5 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 23 Jun 2015 11:50:06 +0200 Subject: [PATCH] Script execution --- .../tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 0fbceff..7d65a40 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 = (int) parameters["repeatTimes"]["value"] - delaySeconds = (int) 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()