IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 9, 2008, 9:28:07 AM (18 years ago)
Author:
Paul Price
Message:

Adding search on label to stacktool -tosum

File:
1 edited

Legend:

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

    r19369 r19434  
    315315            "new",                      // state
    316316            workdir,
    317             label,
    318             reduction,
    319             dvodb,
     317            label,
     318            reduction,
     319            dvodb,
    320320            registered,
    321321            skycell_id,
     
    356356        // this insert needs to use exactly the same restrictions (race condition is probably not critical)
    357357        // the insert below seems to only restrict matches to the skycell, tess, and filter
    358         if ((randomLimit > 0 && !p_psDBRunQuery(config->dbh, thisInsert, skycell_id, filter, randomLimit)) ||
     358        if ((randomLimit > 0 && !p_psDBRunQuery(config->dbh, thisInsert, skycell_id, filter, randomLimit)) ||
    359359            (randomLimit <= 0 && !p_psDBRunQuery(config->dbh, thisInsert, skycell_id, filter))) {
    360360            psError(PS_ERR_UNKNOWN, false, "database error");
     
    419419        "new",                          // state
    420420        workdir,
    421         label,
    422         reduction,
    423         dvodb,
     421        label,
     422        reduction,
     423        dvodb,
    424424        registered,
    425425        skycell_id,
     
    611611    PXOPT_COPY_S64(config->args, where, "-warp_id", "warp_id", "==");
    612612    PXOPT_COPY_S64(config->args, where, "-stack_id", "stack_id", "==");
     613    PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
    613614
    614615    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
     
    708709                               uri,
    709710                               path_base,
    710                                "full",  // data_state
     711                               "full",  // data_state
    711712                               bg,
    712713                               bg_stdev,
Note: See TracChangeset for help on using the changeset viewer.