IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2014, 10:59:37 AM (12 years ago)
Author:
eugene
Message:

adding stack mags to dvopsps detection output; adding option to reset the dvoDetections table; adding makeEquals to sqlUtilities; intelligently(?) select photcode ranges for dvopsps; massive re-work of stackbatch.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippToPsps/jython/loader.py

    r37133 r37156  
    162162
    163163                    if batchType != "OB":
    164                         if not self.ippToPspsDb.isBoxIngested(boxId, self.scratchDb.dbHost):
     164                        if self.config.resetDvo or not self.ippToPspsDb.isBoxIngested(boxId, self.scratchDb.dbHost):
    165165                            if not self.dvoDetections.nativeIngestDetections(boxId, boxDim):
    166166                                self.logger.error("Unable to ingest detections with nativeIngest")
     
    206206            self.ippToPspsDb.unlockTables()
    207207            #self.logger.infoPair("heather:","unlock table")
    208             self.ippToPspsDb.deletePendingItem(batchType, id)
     208            # self.ippToPspsDb.deletePendingItem(batchType, id)
    209209            #self.logger.infoPair("heather:","deleted pending item")
    210210
     
    288288                self.logger.error("EXCEPTION: " + str(e))
    289289                self.logger.errorPair("Problem with this %s batch (%d)" % (batchType, id), "skipping")
     290                sys.exit(1)
    290291                pass
    291292
Note: See TracChangeset for help on using the changeset viewer.