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

    r12262 r13691  
    498498    }
    499499
     500    psString path_base = psMetadataLookupStr(&status, config->args, "-path_base");
     501    if (!status) {
     502        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -path_base");
     503        return false;
     504    }
     505    if (!path_base) {
     506        psError(PS_ERR_UNKNOWN, true, "-path_base is required");
     507        return false;
     508    }
     509
    500510    // optional
    501511    psF64 bg = psMetadataLookupF64(&status, config->args, "-bg");
     
    519529            (psS64)atoll(diff_id),
    520530            uri,
     531            path_base,
    521532            bg,
    522533            bg_stdev
Note: See TracChangeset for help on using the changeset viewer.