Changeset 31325
- Timestamp:
- Apr 19, 2011, 11:00:33 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/detectionbatch.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/detectionbatch.py
r31303 r31325 360 360 self.log("Creating indexes on IPP tables") 361 361 362 for x in range(0,7): 363 for y in range(0,7): 364 365 extension = "XY%d%d_psf" % (x, y) 366 self.createIndex(extension, "IPP_IDET") 362 for x in range(0,8): 363 for y in range(0,8): 364 365 # dodge the corners 366 if x==0 and y==0: continue 367 if x==0 and y==7: continue 368 if x==7 and y==0: continue 369 if x==7 and y==7: continue 370 371 extension = "XY%d%d_psf" % (x, y) 372 self.createIndex(extension, "IPP_IDET") 367 373 368 374 ''' … … 373 379 374 380 self.logger.info("Updating table '" + table + "' with DVO IDs...") 375 sql = "UPDATE " + table + " AS a, dvo AS b SET \381 sql = "UPDATE " + table + " AS a, dvoDetection AS b SET \ 376 382 a.ippObjID = b.ippObjID, \ 377 383 a.detectID = b.detectID, \ … … 395 401 for x in range(3, 4): 396 402 for y in range(3, 4): 397 403 404 # dodge the corners 405 if x==0 and y==0: continue 406 if x==0 and y==7: continue 407 if x==7 and y==0: continue 408 if x==7 and y==7: continue 409 398 410 ota = "XY%d%d" % (x, y) 399 411
Note:
See TracChangeset
for help on using the changeset viewer.
