IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2009, 4:33:10 PM (17 years ago)
Author:
bills
Message:

use pztool -advance to complete summit copy processing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pztool.c

    r21402 r21479  
    463463    }
    464464
     465#ifdef notdef
     466    // we've changed to use -advance instead
    465467    if (!copydoneCompleteExp(config)) {
    466468        // rollback
     
    471473        return false;
    472474    }
    473 
     475#endif
    474476    // point of no return
    475477    if (!psDBCommit(config->dbh)) {
     
    502504    PXOPT_LOOKUP_STR(end_stage, config->args, "-end_stage", false, false);
    503505    PXOPT_LOOKUP_STR(label, config->args, "-label", false, false);
     506    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
    504507
    505508    // find all exposures that have had all of their imfiles downloaded but do
     
    522525    }
    523526    psFree(where);
     527
     528    // treat limit == 0 as "no limit"
     529    if (limit) {
     530        psString limitString = psDBGenerateLimitSQL(limit);
     531        psStringAppend(&query, " %s", limitString);
     532        psFree(limitString);
     533    }
    524534
    525535    // find completed exps
Note: See TracChangeset for help on using the changeset viewer.