Script execution

This commit is contained in:
gac-S_Changer
2016-11-17 10:20:40 +01:00
parent b1eda4692a
commit 50304edf58

View File

@@ -42,12 +42,12 @@ def detect_led(ip):
, maxCirc = 1.0)
r=results
print rt.getColumnHeadings()
for row in range (rt.counter):
print r.getColumnHeadings()
for row in range (r.counter):
if in_roi(r.getValue("XM",row), r.getValue("YM",row)):
print rt.getRowAsString(row)
print r.getRowAsString(row)
else:
print >> sys.stderr, 'Invalid location:' + str(r.getValue("XM", row), r.getValue("YM", row)
print >> sys.stderr, 'Invalid location:' + str(r.getValue("XM", row)) + ", " + str( r.getValue("YM", row))
return (results,output)