Changeset 16308 for trunk/ippScripts/scripts/detrend_norm_apply.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 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
r16196 r16308 33 33 34 34 # Parse the command-line 35 my ($det_id, $iter, $class_id, $value, $input_uri, $camera, $det_type, $outroot, $dbname, $no_update, $no_op); 35 my ( $det_id, $iter, $class_id, $value, $input_uri, $camera, $det_type, $outroot, $dbname, $verbose, 36 $no_update, $no_op ); 36 37 GetOptions( 37 38 'det_id|d=s' => \$det_id, # Detrend ID … … 44 45 'outroot|w=s' => \$outroot, # output file base name 45 46 'dbname|d=s' => \$dbname, # Database name 47 'verbose' => \$verbose, # Print to stdout 46 48 'no-update' => \$no_update, # Don't update the database 47 49 'no-op' => \$no_op, # Don't do any operations … … 117 119 118 120 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 119 run(command => $command, verbose => 1);121 run(command => $command, verbose => $verbose); 120 122 unless ($success) { 121 123 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 160 162 unless ($no_update) { 161 163 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 162 run(command => $command, verbose => 1);164 run(command => $command, verbose => $verbose); 163 165 unless ($success) { 164 166 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
