IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 12, 2007, 12:24:34 PM (19 years ago)
Author:
jhoblitt
Message:

catch renaming raw*Exp -> rawExp conversions
update p3tool to the 'new' fault handling semantics

File:
1 edited

Legend:

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

    r11024 r11075  
    5151    psMetadataAddU64(pendingexpArgs, PS_LIST_TAIL, "-limit",  0,
    5252        "limit result set to N items", 0);
    53     psMetadataAddBool(pendingexpArgs, PS_LIST_TAIL, "-faulted",  0,
    54         "only return imfiles with a fault status set", false);
    5553    psMetadataAddBool(pendingexpArgs, PS_LIST_TAIL, "-simple", 0,
    5654            "use the simple output format", false);
     
    9795    psMetadataAddStr(addprocessedexpArgs, PS_LIST_TAIL, "-b2_uri", 0,
    9896            "define banana 2", NULL);
    99 
    100     // -faultexp
    101     psMetadata *faultexpArgs = psMetadataAlloc();
    102     psMetadataAddStr(faultexpArgs, PS_LIST_TAIL, "-exp_tag",  0,
     97    psMetadataAddS8(addprocessedexpArgs, PS_LIST_TAIL, "-code",  0,
     98        "set fault code (required)", 0);
     99    psMetadataAddBool(pendingexpArgs, PS_LIST_TAIL, "-faulted",  0,
     100        "only return imfiles with a fault status set", false);
     101
     102    // -processedexp
     103    psMetadata *processedexpArgs = psMetadataAlloc();
     104    psMetadataAddStr(processedexpArgs, PS_LIST_TAIL, "-exp_tag", 0,
     105            "search by exposure ID", NULL);
     106    psMetadataAddS32(processedexpArgs, PS_LIST_TAIL, "-p2_version", 0,
     107            "search for exposures with this p2 version", -1);
     108    psMetadataAddS32(processedexpArgs, PS_LIST_TAIL, "-p3_version", 0,
     109            "search for exposures with this p3 version", -1);
     110    psMetadataAddU64(processedexpArgs, PS_LIST_TAIL, "-limit",  0,
     111        "limit result set to N items", 0);
     112    psMetadataAddBool(processedexpArgs, PS_LIST_TAIL, "-simple", 0,
     113            "use the simple output format", false);
     114
     115    // -updateprocessedexp
     116    psMetadata *updateprocessedexpArgs = psMetadataAlloc();
     117    psMetadataAddStr(updateprocessedexpArgs, PS_LIST_TAIL, "-exp_tag",  0,
    103118        "search by exposure ID", NULL);
    104     psMetadataAddStr(faultexpArgs, PS_LIST_TAIL, "-class",  0,
     119    psMetadataAddStr(updateprocessedexpArgs, PS_LIST_TAIL, "-class",  0,
    105120        "search by class", NULL);
    106     psMetadataAddStr(faultexpArgs, PS_LIST_TAIL, "-class_id",  0,
     121    psMetadataAddStr(updateprocessedexpArgs, PS_LIST_TAIL, "-class_id",  0,
    107122        "search by class ID", NULL);
    108     psMetadataAddS8(faultexpArgs, PS_LIST_TAIL, "-code",  0,
     123    psMetadataAddS8(updateprocessedexpArgs, PS_LIST_TAIL, "-code",  0,
    109124        "set fault code (required)", 0);
    110125
     
    146161    PXTOOL_MODE("-pendingexp",   P3TOOL_MODE_PENDINGEXP,    pendingexpArgs);
    147162    PXTOOL_MODE("-pendingimfile",P3TOOL_MODE_PENDINGIMFILE, pendingimfileArgs);
    148     PXTOOL_MODE("-faultexp",     P3TOOL_MODE_FAULTEXP,      faultexpArgs);
    149163    PXTOOL_MODE("-addprocessedexp", P3TOOL_MODE_ADDPROCESSEDEXP, addprocessedexpArgs);
     164    PXTOOL_MODE("-processedexp", P3TOOL_MODE_PROCESSEDEXP,  processedexpArgs);
     165    PXTOOL_MODE("-updateprocessedexp", P3TOOL_MODE_UPDATEPROCESSEDEXP,updateprocessedexpArgs);
    150166    PXTOOL_MODE("-block",        P3TOOL_MODE_BLOCK,         blockArgs);
    151167    PXTOOL_MODE("-masked",       P3TOOL_MODE_MASKED,        maskedArgs);
Note: See TracChangeset for help on using the changeset viewer.