IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 25, 2009, 12:48:19 PM (17 years ago)
Author:
Paul Price
Message:

Adding quality flag to raw, chip, cam, warp, stack, diff product tables. Renaming '-code' flag in the ippTools to '-fault' (clearer meaning, reduces confusion between fault code and quality code).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ippTools/src/faketool.c

    r23339 r23532  
    496496
    497497    // default values
    498     PXOPT_LOOKUP_S16(code, config->args,        "-code", false, false);
     498    PXOPT_LOOKUP_S16(fault, config->args,        "-fault", false, false);
    499499
    500500    if (!psDBTransaction(config->dbh)) {
     
    513513                                   path_base,
    514514                                   "full",
    515                                    code,
     515                                   fault,
    516516                                   NULL         // epoch
    517517            )) {
     
    687687    PS_ASSERT_PTR_NON_NULL(config, false);
    688688
    689     PXOPT_LOOKUP_S16(code, config->args, "-code", true, false);
     689    PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false);
    690690
    691691    psMetadata *where = psMetadataAlloc();
     
    693693    PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "==");
    694694
    695     if (!pxSetFaultCode(config->dbh, "fakeProcessedImfile", where, code)) {
     695    if (!pxSetFaultCode(config->dbh, "fakeProcessedImfile", where, fault)) {
    696696        psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag");
    697697        psFree(where);
     
    12381238
    12391239  int numExportTables = 2;
    1240  
     1240
    12411241  PS_ASSERT_PTR_NON_NULL(config, NULL);
    12421242
     
    13161316
    13171317  PS_ASSERT_PTR_NON_NULL(config, NULL);
    1318  
     1318
    13191319  PXOPT_LOOKUP_STR(infile, config->args, "-infile", true,  false);
    13201320
Note: See TracChangeset for help on using the changeset viewer.