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/warptool.c

    r12261 r13691  
    861861    }
    862862
     863    psString path_base = psMetadataLookupStr(&status, config->args, "-path_base");
     864    if (!status) {
     865        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -path_base");
     866        return false;
     867    }
     868    if (!path_base) {
     869        psError(PS_ERR_UNKNOWN, true, "-path_base is required");
     870        return false;
     871    }
     872
    863873    // optional
    864874    psF64 bg = psMetadataLookupF64(&status, config->args, "-bg");
     
    887897            tess_id,
    888898            uri,
     899            path_base,
    889900            bg,
    890901            bg_stdev
Note: See TracChangeset for help on using the changeset viewer.