IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2007, 6:03:36 PM (19 years ago)
Author:
jhoblitt
Message:

add p4tool -exp & -imfile

File:
1 edited

Legend:

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

    r11763 r11765  
    7878    psMetadataAddS32(addinputexpArgs, PS_LIST_TAIL, "-p3_version", 0,
    7979            "define phase 3 version of exposure tag (required)", 0);
    80     psMetadataAddBool(definerunArgs, PS_LIST_TAIL, "-magiced",  0,
     80    psMetadataAddBool(addinputexpArgs, PS_LIST_TAIL, "-magiced",  0,
    8181            "has this exposure been magiced", false);
    8282
     
    348348    config->where = psMetadataAlloc();
    349349
    350     addWhereS32(p4_id);
     350{
     351    psString str = NULL;
     352    bool status = false;
     353    if ((str = psMetadataLookupStr(&status, config->args, "-p4_id"))) {
     354        if (!psMetadataAddS32(config->where, PS_LIST_TAIL, "p4_id", 0, "==", (psS32)atoi(str))) {
     355            psError(PS_ERR_UNKNOWN, false, "failed to add item p4_id");
     356            goto FAIL;
     357        }
     358    }
     359}
    351360
    352361    if (config->where->list->n < 1) {
Note: See TracChangeset for help on using the changeset viewer.