Script execution
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user