IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16147


Ignore:
Timestamp:
Jan 18, 2008, 4:11:16 PM (18 years ago)
Author:
jhoblitt
Message:

add -copydone {-workdir, -dvodb, -tess_id, -end_stage}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/end_stage/ippTools/src/pztool.c

    r16101 r16147  
    443443    PS_ASSERT_PTR_NON_NULL(config, false);
    444444
     445    // XXX this is an ugly hack!
     446    // we are passing exp level info to a imfile level mode (-copydone)
     447    // these options are thrown away unless we just -copydone'd the last imfile
     448    // in an exp. 
     449    // This function MUST NOT be invoked from anywhere but copydoneMode().
     450 
     451    // optional
     452    PXOPT_LOOKUP_STR(workdir, config->args, "-workdir", false, false);
     453    PXOPT_LOOKUP_STR(dvodb, config->args, "-dvodb", false, false);
     454    PXOPT_LOOKUP_STR(tess_id, config->args, "-tess_id", false, false);
     455    PXOPT_LOOKUP_STR(end_stage, config->args, "-end_stage", false, false);
     456
    445457    // find all exposures that have had all of their imfiles downloaded but do
    446458    // not appear in newExp
     
    488500                    doneExp->telescope, // tmp_telescope
    489501                    "run",              // state
    490                     NULL,               // workdir
     502                    workdir,            // workdir
    491503                    "dirty",            // workdir state
    492504                    NULL,               // reduction class
    493                     NULL,               // dvodb
    494                     NULL,               // tess_id
    495                     NULL                // end_stage
     505                    dvodb,              // dvodb
     506                    tess_id,            // tess_id
     507                    end_stage           // end_stage
    496508                )
    497509        ) {
Note: See TracChangeset for help on using the changeset viewer.