IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 31, 2013, 5:47:48 PM (13 years ago)
Author:
eugene
Message:

track the boxes for which dvo detections have been ingested

File:
1 edited

Legend:

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

    r35076 r35077  
    9797        except: return ret
    9898           
    99         self.dvoDetections = DvoDetections(self.logger, self.config, self.skychunk, self.scratchDb.dbName)
     99        self.dvoDetections = DvoDetections(self.logger, self.config, self.skychunk, self.ippToPspsDb, self.scratchDb.dbName)
    100100
    101101        return ret
     
    197197                            # need to work out a good boundary / region strategy in coordination with
    198198                            # impact of mysql insertion
    199                             self.dvoDetections.nativeIngestDetections(boxDim['RA'], boxDim['DEC'], boxSizeSansBorder)
     199                            if not self.ippToPspsDb.isBoxIngested(boxId):
     200                                self.dvoDetections.nativeIngestDetections(boxId, boxDim['RA'], boxDim['DEC'], boxSizeSansBorder)
     201
    200202                            useFullTables = 1
    201203               
     
    215217                        break
    216218                    self.logger.infoPair("processed","ok")
     219
    217220            if abort or not self.checkClientStatus(): abort = True
    218221            elif numAttempts > 1 and not self.waitForPollTime():  break
Note: See TracChangeset for help on using the changeset viewer.