Changeset 18048 for trunk/ippScripts/scripts/detrend_reject_imfile.pl
- Timestamp:
- Jun 10, 2008, 8:46:59 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl
r17943 r18048 36 36 # parse the command-line options 37 37 my ( $det_id, $iter, $exp_id, $exp_tag, $det_type, $camera, $filter, $reject, $outroot, $dbname, $reduction, 38 $verbose, $no_update, $no_op, $save_temps );38 $verbose, $no_update, $no_op, $save_temps, $redirect ); 39 39 GetOptions( 40 40 'det_id|d=s' => \$det_id, … … 53 53 'no-op' => \$no_op, 54 54 'save-temps' => \$save_temps, # Save temporary files? 55 'redirect-output' => \$redirect, # redirect output from LOG.IMFILE 55 56 ) or pod2usage( 2 ); 56 57 … … 68 69 # load IPP config information for the specified camera 69 70 $ipprc->define_camera($camera); 71 if ($redirect) { 72 # XXX should this really be going to LOG.IMFILE? 73 # That's where detrend.resid.pro was sending it 74 my $logDest = $ipprc->filename("LOG.IMFILE", $outroot, "NONE") 75 or &my_die("Missing entry from camera config", $det_id, $iter, $exp_id, $PS_EXIT_CONFIG_ERROR); 76 $ipprc->redirect_output($logDest); 77 } 78 70 79 71 80 # Recipes to use based on reduction class
Note:
See TracChangeset
for help on using the changeset viewer.
