Changeset 16308 for trunk/ippScripts/scripts/detrend_reject_imfile.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl
r16196 r16308 43 43 44 44 # parse the command-line options 45 my ($det_id, $iter, $exp_id, $exp_tag, $det_type, $camera, $filter, $reject, $outroot, $dbname, $reduction, $no_update, $no_op); 45 my ( $det_id, $iter, $exp_id, $exp_tag, $det_type, $camera, $filter, $reject, $outroot, $dbname, $reduction, 46 $verbose, $no_update, $no_op ); 46 47 GetOptions( 47 48 'det_id|d=s' => \$det_id, … … 56 57 'dbname|d=s' => \$dbname, # Database name 57 58 'reduction|=s' => \$reduction, 59 'verbose' => \$verbose, # Print to stdout 58 60 'no-update' => \$no_update, 59 61 'no-op' => \$no_op, … … 124 126 $command .= " -dbname $dbname" if defined $dbname; 125 127 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 126 run(command => $command, verbose => 1);128 run(command => $command, verbose => $verbose); 127 129 unless ($success) { 128 130 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 178 180 $command = "$ppImage -list $list1Name $outroot -recipe PPIMAGE $recipe1"; # Command to run 179 181 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 180 run(command => $command, verbose => 1);182 run(command => $command, verbose => $verbose); 181 183 unless ($success) { 182 184 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 188 190 $command = "$ppImage -list $list2Name $outroot -recipe PPIMAGE $recipe2"; # Command to run 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); … … 515 517 unless ($no_update) { 516 518 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 517 run(command => $command, verbose => 1);519 run(command => $command, verbose => $verbose); 518 520 unless ($success) { 519 521 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
