IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 21, 2009, 3:27:44 PM (17 years ago)
Author:
eugene
Message:

add option to recognize if correction is generated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/flatcorr.pro

    r25816 r25915  
    6565    active false
    6666  end
     67  task flatcorr.load
     68    active false
     69  end
     70  task flatcorr.run
     71    active false
     72  end
     73end
     74
     75macro flatcorr.proc.on
     76  task flatcorr.load
     77    active true
     78  end
     79  task flatcorr.run
     80    active true
     81  end
     82end
     83
     84macro flatcorr.proc.off
    6785  task flatcorr.load
    6886    active false
     
    260278    book getword flatcorrBook $pageName region      -var REGION
    261279    book getword flatcorrBook $pageName filter      -var FILTER
     280    book getword flatcorrBook $pageName make_corr   -var MAKE_CORRECTION
    262281    book getword flatcorrBook $pageName dbname      -var DBNAME
    263282    book getword flatcorrBook $pageName workdir     -var WORKDIR_TEMPLATE
     
    282301    # XXX get these arguments right
    283302    $run = flatcorr_proc.pl --corr_id $CORR_ID --det_type $DET_TYPE --dvodb $DVODB --camera $CAMERA --region $REGION --filter $FILTER --workdir $outroot
     303    if ("$MAKE_CORRECTION" == "T")
     304      $run = $run --make_correction
     305    end
    284306    add_standard_args run
    285307
Note: See TracChangeset for help on using the changeset viewer.