Changeset 18048 for trunk/ippScripts/scripts/detrend_norm_apply.pl
- Timestamp:
- Jun 10, 2008, 8:46:59 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_norm_apply.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_norm_apply.pl
r17943 r18048 26 26 # Parse the command-line 27 27 my ( $det_id, $iter, $class_id, $value, $input_uri, $camera, $det_type, $outroot, $dbname, $verbose, 28 $no_update, $no_op );28 $no_update, $no_op, $redirect ); 29 29 GetOptions( 30 30 'det_id|d=s' => \$det_id, # Detrend ID … … 40 40 'no-update' => \$no_update, # Don't update the database 41 41 'no-op' => \$no_op, # Don't do any operations 42 'redirect-output' => \$redirect, # send output from script to LOG.IMFILE 42 43 ) or pod2usage( 2 ); 43 44 … … 56 57 $ipprc->define_camera($camera); 57 58 59 my $logDest = $ipprc->filename("LOG.IMFILE", $outroot, $class_id) 60 or &my_die("Missing entry from camera config", $det_id, $iter, $class_id, $PS_EXIT_CONFIG_ERROR); 61 $ipprc->redirect_output($logDest) if $redirect; 62 58 63 my $RECIPE_PPIMAGE = 'PPIMAGE_N'; # Recipe to use with ppImage 59 64 my $RECIPE_PPSTATS = 'CHIPSTATS'; # Recipe to use with ppStats … … 100 105 my $statsName = $ipprc->filename("PPIMAGE.STATS", $outroot, $class_id) or &my_die("Missing entry from camera config", $det_id, $iter, $class_id, $PS_EXIT_CONFIG_ERROR); 101 106 my $traceDest = $ipprc->filename("TRACE.IMFILE", $outroot, $class_id) or &my_die("Missing entry from camera config", $det_id, $iter, $class_id, $PS_EXIT_CONFIG_ERROR); 102 my $logDest = $ipprc->filename("LOG.IMFILE", $outroot, $class_id) or &my_die("Missing entry from camera config", $det_id, $iter, $class_id, $PS_EXIT_CONFIG_ERROR);103 107 104 108 # Run normalisation
Note:
See TracChangeset
for help on using the changeset viewer.
