IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2012, 4:36:52 PM (14 years ago)
Author:
rhenders
Message:

now polls of OB batches

File:
1 edited

Legend:

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

    r33555 r33680  
    4242        else: self.stages = [self.STAGE]
    4343
    44         if self.BATCHTYPE == "all": self.batchTypes = ['P2', 'ST']
     44        if self.BATCHTYPE == "all": self.batchTypes = ['P2', 'ST', 'OB']
    4545        else: self.batchTypes = [self.BATCHTYPE]
    4646
     
    6868     
    6969        if stage == "unloaded":
    70             ids = self.ippToPspsDb.getUnloadedBatchIDs(self.config.epoch, self.config.dvoLabel, batchType)
     70            ids = self.ippToPspsDb.getUnloadedBatchIDs(batchType)
    7171        elif stage == "unmergeworthy":
    72             ids = self.ippToPspsDb.getUnmergeWorthyBatchIDs(self.config.epoch, self.config.dvoLabel, batchType)
     72            ids = self.ippToPspsDb.getUnmergeWorthyBatchIDs(batchType)
    7373        elif stage == "unmerged":
    74             ids = self.ippToPspsDb.getUnmergedBatchIDs(self.config.epoch, self.config.dvoLabel, batchType)
     74            ids = self.ippToPspsDb.getUnmergedBatchIDs(batchType)
    7575   
    7676        self.logger.infoTitle("Checking %d %s %s batches" % (len(ids), stage, batchType))
     
    121121    '''
    122122    def printUsage(self):
    123         super(PollOdm, self).printUsage("<P2|ST|all> <unloaded|unmergeworthy|unmerged|all> [hours]")
     123        super(PollOdm, self).printUsage("<P2|ST|OB|all> <unloaded|unmergeworthy|unmerged|all> [hours]")
    124124   
    125125   
Note: See TracChangeset for help on using the changeset viewer.