Changeset 16308 for trunk/ippScripts/scripts/detrend_norm_exp.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_norm_exp.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_norm_exp.pl
r16196 r16308 35 35 use Pod::Usage qw( pod2usage ); 36 36 37 my ($det_id, $iter, $det_type, $camera, $outroot, $dbname, $reduction, $ no_update, $no_op);37 my ($det_id, $iter, $det_type, $camera, $outroot, $dbname, $reduction, $verbose, $no_update, $no_op); 38 38 GetOptions( 39 39 'det_id|d=s' => \$det_id, … … 44 44 'dbname|d=s' => \$dbname, # Database name 45 45 'reduction|=s' => \$reduction, 46 'verbose' => \$verbose, # Print to stdout 46 47 'no-update' => \$no_update, 47 48 'no-op' => \$no_op, … … 97 98 $command .= " -dbname $dbname" if defined $dbname; 98 99 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 99 run(command => $command, verbose => 1);100 run(command => $command, verbose => $verbose); 100 101 unless ($success) { 101 102 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 142 143 $command = "$ppImage -list $list1Name $outroot -recipe PPIMAGE $recipe1"; # Command to run 143 144 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 144 run(command => $command, verbose => 1);145 run(command => $command, verbose => $verbose); 145 146 &my_die("Unable to find expected output file: $jpeg1Name", $det_id, $iter, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($jpeg1Name); 146 147 … … 148 149 $command = "$ppImage -list $list2Name $outroot -recipe PPIMAGE $recipe2"; # Command to run 149 150 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 150 run(command => $command, verbose => 1);151 run(command => $command, verbose => $verbose); 151 152 &my_die("Unable to find expected output file: $jpeg2Name", $det_id, $iter, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($jpeg2Name); 152 153 … … 165 166 unless ($no_update) { 166 167 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 167 run(command => $command, verbose => 1);168 run(command => $command, verbose => $verbose); 168 169 unless ($success) { 169 170 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
