IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32222 for trunk/ippToPsps


Ignore:
Timestamp:
Aug 29, 2011, 9:35:17 PM (15 years ago)
Author:
rhenders
Message:

now checking for consistent failure before running a batch; extra args to alreadyProcessed() method

File:
1 edited

Legend:

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

    r32206 r32222  
    2424
    2525    batchIDs = ippToPspsDb.getProcessedButFailedDatastoreBatchIDs(EPOCH, DVOGPC1LABEL, batchType)
    26     logger.infoPair("Failed load to datastore", "%d %s batches" % (len(batchIDs), batchType))
     26    logger.infoPair("Failed loads to datastore", "%d %s batches" % (len(batchIDs), batchType))
    2727
    2828    for batchID in batchIDs:
     
    7474    for id in ids:
    7575
    76         if not FORCE and ippToPspsDb.alreadyProcessed(batchType, id): continue
     76        if not FORCE and ippToPspsDb.alreadyProcessed(batchType, id, EPOCH, DVOGPC1LABEL): continue
     77        if not FORCE and ippToPspsDb.consistentlyFailed(batchType, id, EPOCH, DVOGPC1LABEL, 3): continue
    7778
    7879        if batchType == "P2":
Note: See TracChangeset for help on using the changeset viewer.