Changeset 16308 for trunk/ippScripts/scripts/detrend_resid.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_resid.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_resid.pl
r16196 r16308 32 32 use Pod::Usage qw( pod2usage ); 33 33 34 my ($det_id, $iter, $exp_id, $exp_tag, $class_id, $det_type, $detrend, $input_uri, $camera, $mode, $outroot, $dbname, $reduction, $no_update, $no_op); 34 my ( $det_id, $iter, $exp_id, $exp_tag, $class_id, $det_type, $detrend, $input_uri, $camera, $mode, $outroot, 35 $dbname, $reduction, $verbose, $no_update, $no_op ); 35 36 GetOptions( 36 37 'det_id|d=s' => \$det_id, … … 47 48 'dbname|d=s' => \$dbname, # Database name 48 49 'reduction=s' => \$reduction, # Reduction class 50 'verbose' => \$verbose, # Print to stdout 49 51 'no-update' => \$no_update, 50 52 'no-op' => \$no_op, … … 162 164 163 165 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 164 run(command => $command, verbose => 1);166 run(command => $command, verbose => $verbose); 165 167 unless ($success) { 166 168 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 188 190 $command = "$ppStats -recipe PPSTATS RESIDUAL $bin2Name"; 189 191 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 190 run(command => $command, verbose => 1);192 run(command => $command, verbose => $verbose); 191 193 unless ($success) { 192 194 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 217 219 unless ($no_update) { 218 220 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 219 run(command => $command, verbose => 1);221 run(command => $command, verbose => $verbose); 220 222 unless ($success) { 221 223 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
