IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2008, 4:20:15 PM (18 years ago)
Author:
jhoblitt
Message:

update

File:
1 edited

Legend:

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

    r16505 r16621  
    106106    PXOPT_COPY_TIME(config->args, where, "-dateobs_end", "dateobs", "<=");
    107107    PXOPT_COPY_STR(config->args, where, "-exp_tag", "exp_tag", "==");
    108     PXOPT_COPY_STR(config->args, where, "-exp_type", "exp_type", "==");
    109108    PXOPT_COPY_STR(config->args, where, "-filelevel", "filelvel", "==");
    110109    PXOPT_COPY_STR(config->args, where, "-reduction", "reduction", "==");
     
    140139    if (where->list->n < 1) {
    141140        psFree(where);
    142         where = NULL;
     141        psError(PXTOOLS_ERR_DATA, false, "search parameters are required");
     142        return false;
    143143    }
    144144
     
    151151    PXOPT_LOOKUP_STR(tess_id, config->args, "-set_tess_id", false, false);
    152152    PXOPT_LOOKUP_STR(end_stage, config->args, "-set_end_stage", false, false);
     153
     154    // default
     155    PXOPT_COPY_STR(config->args, where, "-exp_type", "exp_type", "==");
    153156
    154157    PXOPT_LOOKUP_BOOL(pretend, config->args, "-pretend", false);
Note: See TracChangeset for help on using the changeset viewer.