Changeset 31965 for trunk/ippToPsps/jython/detectionbatch.py
- Timestamp:
- Aug 1, 2011, 4:05:53 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/detectionbatch.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/detectionbatch.py
r31951 r31965 533 533 Updates provided table with DVO IDs from DVO table 534 534 ''' 535 def updateDvoIDs(self, table, sourceID, imageID): 536 537 self.logger.debug("Updating table '" + table + "' with DVO IDs using imageID = " + imageID) 535 def updateDvoIDs(self, table, sourceID, externID): 536 537 imageID = self.scratchDb.getImageIDFromExternID(sourceID, externID) 538 self.logger.debug("Updating table '" + table + "' with DVO IDs using imageID = %d" % imageID) 538 539 sql = "UPDATE IGNORE " + table + " AS a, " + self.scratchDb.dvoDetection + " AS b SET \ 539 540 a.ippObjID = b.ippObjID, \ … … 617 618 # store sourceID/imageID combo in Db so DVO can look up later 618 619 if not self.useFullTables: 619 self.scratchDb.insertNewDvo Image(header['SOURCEID'], header['IMAGEID'])620 self.scratchDb.insertNewDvoExternID(header['SOURCEID'], header['IMAGEID']) 620 621 621 622 # store these for later
Note:
See TracChangeset
for help on using the changeset viewer.
