IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 17, 2015, 4:59:36 PM (11 years ago)
Author:
eugene
Message:

pass the batchType into nativeIngestDetections; disallow use of multiple batchTypes in a detection-style batch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/loader.py

    r39008 r39153  
    172172                    if (batchType == "P2" or batchType == "ST" or batchType =="DF" or batchType == "FW"):
    173173                        if self.config.resetDvo or not self.ippToPspsDb.isBoxIngested(boxId, self.scratchDb.dbHost):
    174                             if not self.dvo.nativeIngestDetections(boxId, boxDim):
     174                            if not self.dvo.nativeIngestDetections(boxId, boxDim, batchType):
    175175                                self.logger.error("Unable to ingest detections with nativeIngest")
    176176                                return False
Note: See TracChangeset for help on using the changeset viewer.