Changeset 33259 for trunk/ippToPsps/jython/detectionbatch.py
- Timestamp:
- Feb 14, 2012, 12:02:48 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/detectionbatch.py (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/detectionbatch.py
r33235 r33259 33 33 def __init__(self, 34 34 logger, 35 configPath, 36 configDoc, 35 config, 37 36 gpc1Db, 38 37 ippToPspsDb, … … 43 42 super(DetectionBatch, self).__init__( 44 43 logger, 45 configPath, 46 configDoc, 44 config, 47 45 gpc1Db, 48 46 ippToPspsDb, … … 75 73 76 74 # if test mode 77 if self. testMode:75 if self.config.test: 78 76 self.startX = 3 79 77 self.endX = 4 … … 221 219 self.scratchDb.updateFilterID("FrameMeta", self.filter) 222 220 self.scratchDb.updateAllRows("FrameMeta", "calibModNum", str(self.calibModNum)) 223 self.scratchDb.updateAllRows("FrameMeta", "dataRelease", str(self. dataRelease))221 self.scratchDb.updateAllRows("FrameMeta", "dataRelease", str(self.config.dataRelease)) 224 222 225 223 ''' … … 368 366 self.scratchDb.updateFilterID(tableName, self.filter) 369 367 self.scratchDb.updateAllRows(tableName, "calibModNum", str(self.calibModNum)) 370 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self. dataRelease))368 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.config.dataRelease)) 371 369 if 'NASTRO' in header: self.totalNumPhotoRef = self.totalNumPhotoRef + int(header['NASTRO']) 372 370 self.scratchDb.replaceNullsInThisColumn(tableName, "polyOrder", "0") … … 455 453 , '" + self.dateStr + "' \ 456 454 , 0 \ 457 , " + str(self. dataRelease) + "\455 , " + str(self.config.dataRelease) + "\ 458 456 FROM " + ippTableName 459 457 self.scratchDb.execute(sql) … … 499 497 self.scratchDb.execute(sql) 500 498 501 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self. dataRelease))499 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.config.dataRelease)) 502 500 503 501 ''' … … 528 526 529 527 self.scratchDb.updateAllRows(tableName, "calibModNum", str(self.calibModNum)) 530 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self. dataRelease))528 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.config.dataRelease)) 531 529 532 530 … … 752 750 def importIppTables(self, filter=""): 753 751 754 if self. testMode: regex = "XY33.psf"752 if self.config.test: regex = "XY33.psf" 755 753 else : regex = ".*.psf" 756 754
Note:
See TracChangeset
for help on using the changeset viewer.
