Changeset 17172
- Timestamp:
- Mar 28, 2008, 11:38:41 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/ipp_serial_detrend.pl (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_serial_detrend.pl
r17163 r17172 13 13 14 14 my ($dbname, # Database name to use 15 $workdir_global # Global working directory 15 $workdir_global, # Global working directory 16 $verbose, # Produce verbose output? 16 17 ); 17 18 GetOptions( 18 19 'dbname=s' => \$dbname, 19 20 'workdir=s' => \$workdir_global, 21 'verbose' => \$verbose, 20 22 ) or pod2usage( 2 ); 21 23 … … 80 82 my $command = "$detrend_process_imfile --det_id $det_id --exp_tag $exp_tag --exp_id $exp_id --class_id $class_id --det_type $det_type --input_uri $uri --camera $camera --dbname $dbname --outroot $outroot"; 81 83 $command .= " --reduction $reduction" if defined $reduction; 84 $command .= " --verbose" if defined $verbose; 82 85 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 83 86 run( command => $command, verbose => 1 ); … … 115 118 116 119 my $command = "$detrend_process_exp --det_id $det_id --det_type $det_type --exp_tag $exp_tag --exp_id $exp_id --camera $camera --dbname $dbname --outroot $outroot"; 120 $command .= " --verbose" if defined $verbose; 117 121 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 118 122 run( command => $command, verbose => 1 ); … … 148 152 my $command = "$detrend_stack --det_id $det_id --iteration $iteration --class_id $class_id --det_type $det_type --camera $camera --dbname $dbname --outroot $outroot"; 149 153 $command .= " --reduction $reduction" if defined $reduction; 154 $command .= " --verbose" if defined $verbose; 150 155 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 151 156 run( command => $command, verbose => 1 ); … … 177 182 178 183 my $command = "$detrend_norm_calc --det_id $det_id --iteration $iteration --det_type $det_type --dbname $dbname --outroot $outroot"; 184 $command .= " --verbose" if defined $verbose; 179 185 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 180 186 run( command => $command, verbose => 1 ); … … 209 215 210 216 my $command = "$detrend_norm_apply --det_id $det_id --iteration $iteration --class_id $class_id --value $value --input_uri $uri --camera $camera --det_type $det_type --dbname $dbname --outroot $outroot"; 217 $command .= " --verbose" if defined $verbose; 211 218 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 212 219 run( command => $command, verbose => 1 ); … … 241 248 242 249 my $command = "$detrend_norm_exp --det_id $det_id --iteration $iteration --camera $camera --det_type $det_type --dbname $dbname --outroot $outroot"; 250 $command .= " --verbose" if defined $verbose; 243 251 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 244 252 run( command => $command, verbose => 1 ); … … 289 297 $command .= " --reduction $reduction" if defined $reduction; 290 298 $command .= " --detrend $detrend" if defined $detrend; 299 $command .= " --verbose" if defined $verbose; 291 300 292 301 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 326 335 327 336 my $command = "$detrend_reject_imfile --det_id $det_id --iteration $iteration --exp_tag $exp_tag --exp_id $exp_id --det_type $det_type --camera $camera --dbname $dbname --outroot $outroot"; 337 $command .= " --verbose" if defined $verbose; 328 338 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 329 339 run( command => $command, verbose => 1 ); … … 355 365 356 366 my $command = "$detrend_reject_exp --det_id $det_id --iteration $iteration --det_type $det_type --camera $camera --dbname $dbname --outroot $outroot"; 367 $command .= " --verbose" if defined $verbose; 357 368 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 358 369 run( command => $command, verbose => 1 );
Note:
See TracChangeset
for help on using the changeset viewer.
