IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12118


Ignore:
Timestamp:
Feb 28, 2007, 3:09:28 PM (19 years ago)
Author:
jhoblitt
Message:

fix -define... label handling

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r12093 r12118  
    14471447    if (!isnan(posang_max)) {
    14481448        detRun->posang_max = posang_max;
     1449    }
     1450
     1451    psString label = psMetadataLookupStr(&status, config->args, "-set_label");
     1452    if (!status) {
     1453        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -set_label");
     1454        return false;
     1455    }
     1456    if (label) {
     1457        detRun->label = label;
    14491458    }
    14501459
  • trunk/ippTools/src/dettoolConfig.c

    r12066 r12118  
    185185    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-pretend",  0,
    186186            "print the exposures that would be included in the detrend run and exit", false);
     187    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-label",  0,
     188            "define detrun label", NULL);
    187189    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-simple",  0,
    188190            "use the simple output format", false);
     
    232234    psMetadataAddStr(definebydetrunArgs, PS_LIST_TAIL, "-filter_input_end", 0,
    233235            "filter input detrun exp to be in this peroid", NULL);
     236    psMetadataAddStr(definebydetrunArgs, PS_LIST_TAIL, "-set_label",  0,
     237            "define detrun label", NULL);
    234238    psMetadataAddBool(definebydetrunArgs, PS_LIST_TAIL, "-simple", 0,
    235239            "use the simple output format", false);
Note: See TracChangeset for help on using the changeset viewer.