IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 3, 2011, 12:44:36 PM (15 years ago)
Author:
rhenders
Message:

improved logic for determining processed and failed items

File:
1 edited

Legend:

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

    r31995 r32002  
    1717
    1818    allIDs = gpc1Db.getIDsInThisDVODbForThisStage(dvoGpc1Label, batchType)
    19     processedIDs = ippToPspsDb.getProcessedIDsForThisStage(batchType, epoch)
    20     failedIDs = ippToPspsDb.getFailedBatches(batchType, epoch)
     19    processedIDs = ippToPspsDb.getProcessedIDsForThisStage(batchType, epoch, dvoGpc1Label)
     20    failedIDs = ippToPspsDb.getFailedBatches(batchType, epoch, dvoGpc1Label)
    2121    unprocessedIDs = list(set(allIDs) - set(processedIDs))
    2222
     
    2525                len(allIDs),
    2626                len(processedIDs),
    27                 len(list(set(failedIDs) - set(allIDs))),
     27                len(list(set(failedIDs) - set(processedIDs))),
    2828                len(unprocessedIDs),
    2929                ippToPspsDb.getLastBatchPublished(batchType)))
Note: See TracChangeset for help on using the changeset viewer.