IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2007, 3:45:21 PM (19 years ago)
Author:
Paul Price
Message:

Adding path_base for warp,diff,stack.

File:
1 edited

Legend:

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

    r12418 r13691  
    508508        return false;
    509509    }
     510    psString path_base = psMetadataLookupStr(&status, config->args, "-path_base");
     511    if (!status) {
     512        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -path_base");
     513        return false;
     514    }
     515    if (!path_base) {
     516        psError(PS_ERR_UNKNOWN, true, "-path_base is required");
     517        return false;
     518    }
    510519
    511520    // optional
     
    533542            (psS64)atoll(stack_id),
    534543            uri,
     544            path_base,
    535545            bg,
    536546            bg_stdev
Note: See TracChangeset for help on using the changeset viewer.