IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 11, 2008, 3:30:13 PM (18 years ago)
Author:
eugene
Message:

allow for selection based on warp_label or stack_label

File:
1 edited

Legend:

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

    r19463 r19525  
    912912    psMetadata *where = psMetadataAlloc();
    913913
    914     PXOPT_COPY_S64(config->args, where, "-warp_id", "warp_id", "==");
    915     PXOPT_COPY_STR(config->args, where, "-skycell_id", "skycell_id", "==");
    916     PXOPT_COPY_STR(config->args, where, "-tess_id", "tess_id", "==");
    917     PXOPT_COPY_STR(config->args, where, "-filter", "filter", "==");
    918     PXOPT_COPY_STR(config->args, where,  "-kind", "kind", "==");
    919     PXOPT_COPY_F32(config->args, where,  "-good_frac", "good_frac", ">=");
    920     PXOPT_COPY_STR(config->args, where,  "-select_label", "label", "==");
     914    PXOPT_COPY_S64(config->args, where, "-warp_id", "warpsToDiff.warp_id", "==");
     915    PXOPT_COPY_STR(config->args, where, "-skycell_id", "warpsToDiff.skycell_id", "==");
     916    PXOPT_COPY_STR(config->args, where, "-tess_id", "warpsToDiff.tess_id", "==");
     917    PXOPT_COPY_STR(config->args, where, "-filter", "warpsToDiff.filter", "==");
     918    PXOPT_COPY_STR(config->args, where, "-stack_label", "stacksForDiff.stack_label", "==");
     919    PXOPT_COPY_STR(config->args, where, "-warp_label", "warpsToDiff.warp_label", "==");
     920    PXOPT_COPY_STR(config->args, where,  "-kind", "warpsToDiff.kind", "==");
     921    PXOPT_COPY_F32(config->args, where,  "-good_frac", "warpsToDiff.good_frac", ">=");
     922
    921923    PXOPT_LOOKUP_STR(workdir, config->args, "-workdir", true, false); // required options
    922924    PXOPT_LOOKUP_STR(reduction, config->args, "-reduction", false, false); // option
     
    942944
    943945    if (psListLength(where->list)) {
    944         psString whereClause = psDBGenerateWhereConditionSQL(where, "warpsToDiff");
     946        psString whereClause = psDBGenerateWhereConditionSQL(where, NULL);
    945947        psStringAppend(&query, " AND %s", whereClause);
    946948        psFree(whereClause);
Note: See TracChangeset for help on using the changeset viewer.