Changeset 31406
- Timestamp:
- Apr 28, 2011, 4:26:13 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/detectionbatch.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/detectionbatch.py
r31403 r31406 529 529 self.scratchDb.insertNewDvoImage(header['SOURCEID'], header['IMAGEID']) 530 530 531 # check we have valid sourceID/imageID pair from the header 532 if 'SOURCEID' not in header or 'IMAGEID' not in header: 533 self.logger.error("Can't read SOURCEID/IMAGEID pair from " + ota + " header") 534 continue 535 531 536 # store these for later 532 537 sourceIDs[ota] = header['SOURCEID'] … … 555 560 556 561 ota = "XY%d%d" % (x, y) 562 if ota not in sourceIDs: continue 563 557 564 self.logger.info("******************* Dealing with OTA " + ota + " *******************") 558 565 … … 633 640 gpc1Db = Gpc1Db(logger) 634 641 camIDs = gpc1Db.getIDsInThisDVODbForThisStage("MD04.V2", "cam") 635 636 642 logger.info("Found %d exposures" % len(camIDs)) 637 643
Note:
See TracChangeset
for help on using the changeset viewer.
