IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 30, 2014, 4:28:10 PM (12 years ago)
Author:
heather
Message:

stacks need a lot of work

File:
1 edited

Legend:

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

    r36697 r36709  
    234234        # loop round IDs of all items to be processed
    235235        self.ippToPspsDb.lockBatchTable()
    236         self.logger.infoPair("heather:","lockbatchtable")
     236        #self.logger.infoPair("heather:","lockbatchtable")
    237237        unattemptedCount = 0
    238238        for id in ids:
    239             self.logger.infoPair("heather:","in ids")
    240             self.logger.infoPair("heather:id",str(id))
     239            #self.logger.infoPair("heather:","in ids")
     240            #self.logger.infoPair("heather:id",str(id))
    241241            batchID = self.ippToPspsDb.createNewBatch(batchType, id)
    242             self.logger.infoPair("heather:","creatednewbatch")
    243             self.logger.infoPair("heather:batchId", str(batchID))
     242            #self.logger.infoPair("heather:","creatednewbatch")
     243            #self.logger.infoPair("heather:batchId", str(batchID))
    244244            if batchID < 0:
    245245                unattemptedCount += 1
    246246                continue
    247             self.logger.infoPair("heather:","passed logic")
     247            #self.logger.infoPair("heather:","passed logic")
    248248            self.ippToPspsDb.unlockTables()
    249             self.logger.infoPair("heather:","unlock table")
     249            #self.logger.infoPair("heather:","unlock table")
    250250            self.ippToPspsDb.deletePendingItem(batchType, id)
    251             self.logger.infoPair("heather:","deleted pending item")
     251            #self.logger.infoPair("heather:","deleted pending item")
    252252
    253253            # catch any raised exceptions in batch constructors
    254254            try:
    255255                if batchType == "P2":
     256                    self.logger.infoPair("defining P2 batch for cam_id:",id)
    256257                    batch = DetectionBatch(self.logger,
    257258                            self.config,
     
    264265                            useFullTables)
    265266                elif batchType == "ST":
     267                    self.logger.infoPair("defining ST batch for sky_id:",id)
    266268                    batch = StackBatch(self.logger,
    267269                            self.config,
     
    328330                            batchID,
    329331                            useFullTables)
    330    
     332                   
    331333                batch.run()
    332334   
Note: See TracChangeset for help on using the changeset viewer.