IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2008, 9:30:35 AM (18 years ago)
Author:
Paul Price
Message:

Adding filter to stackRun.

File:
1 edited

Legend:

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

    r18574 r18578  
    272272
    273273        // create a new stackRun for this stack
    274         stackRunRow *run = stackRunRowAlloc(0, "run", workdir, NULL, registered, skycell_id, tess_id);
     274        stackRunRow *run = stackRunRowAlloc(0, "run", workdir, NULL, registered, skycell_id, tess_id, filter);
    275275        if (!stackRunInsertObject(config->dbh, run)) {
    276276            if (!psDBRollback(config->dbh)) {
     
    343343    PXOPT_LOOKUP_STR(skycell_id, config->args, "-skycell_id", true, false);
    344344    PXOPT_LOOKUP_STR(tess_id, config->args, "-tess_id", true, false);
     345    PXOPT_LOOKUP_STR(filter, config->args, "-filter", true, false);
    345346
    346347    // default
     
    356357    }
    357358
    358     stackRunRow *run = stackRunRowAlloc(
    359             0,          // ID
    360             "run",      // state
    361             workdir,
    362             NULL,       // dvodb
    363             registered,
    364             skycell_id,
    365             tess_id
    366     );
     359    stackRunRow *run = stackRunRowAlloc(0, "run", workdir, NULL, registered, skycell_id, tess_id, filter);
    367360    if (!run) {
    368361        psError(PS_ERR_UNKNOWN, false, "failed to alloc stackRun object");
Note: See TracChangeset for help on using the changeset viewer.