Changeset 18048 for trunk/ippScripts/scripts/detrend_correct_imfile.pl
- Timestamp:
- Jun 10, 2008, 8:46:59 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_correct_imfile.pl
r17671 r18048 25 25 26 26 my ( $det_id, $exp_id, $class_id, $det_type, $exp_tag, $input_uri, $camera, $dbname, $workdir, $reduction, 27 $verbose, $no_update, $no_op );27 $verbose, $no_update, $no_op, $outroot, $redirect, $corr_id, $corr_type, $corr_uri ); 28 28 GetOptions( 29 29 'det_id|d=s' => \$det_id, … … 41 41 'no-update' => \$no_update, 42 42 'no-op' => \$no_op, 43 'outroot' => \$outroot, 44 'redirect-output' => \$redirect, 43 45 ) or pod2usage( 2 ); 44 46 … … 56 58 # XXX this exits with status = 0 on failure 57 59 $ipprc->define_camera($camera); 60 61 if ($redirect) { 62 die "must suplly --outroot with --redirect-output" if !defined ($outroot); 63 my $logDest = $ipprc->filename("LOG.IMFILE", $outroot, $class_id) 64 or &my_die("Missing entry from camera config", $det_id, $exp_id, $class_id, $PS_EXIT_CONFIG_ERROR); 65 $ipprc->redirect_output($logDest); 66 } 58 67 59 68 # Recipes to use as a function of detrend type
Note:
See TracChangeset
for help on using the changeset viewer.
