Changeset 16308 for trunk/ippScripts/scripts/detrend_reject_exp.pl
- Timestamp:
- Feb 5, 2008, 11:47:19 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_reject_exp.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_reject_exp.pl
r16196 r16308 37 37 use Pod::Usage qw( pod2usage ); 38 38 39 my ($det_id, $iter, $det_type, $camera, $outroot, $filter, $dbname, $ no_update, $no_op);39 my ($det_id, $iter, $det_type, $camera, $outroot, $filter, $dbname, $verbose, $no_update, $no_op); 40 40 GetOptions( 41 41 'det_id|d=s' => \$det_id, … … 43 43 'det_type|t=s' => \$det_type, 44 44 'camera=s' => \$camera, 45 'outroot|w=s' => \$outroot, # output file base name45 'outroot|w=s' => \$outroot, # output file base name 46 46 'filter=s' => \$filter, 47 47 'dbname|d=s' => \$dbname, # Database name 48 'verbose' => \$verbose, # Print to stdout 48 49 'no-update' => \$no_update, 49 50 'no-op' => \$no_op, … … 106 107 $command .= " -dbname $dbname" if defined $dbname; 107 108 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 108 run(command => $command, verbose => 1);109 run(command => $command, verbose => $verbose); 109 110 unless ($success) { 110 111 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 261 262 # Update 262 263 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 263 run(command => $command, verbose => 1);264 run(command => $command, verbose => $verbose); 264 265 unless ($success) { 265 266 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 308 309 unless ($no_update) { 309 310 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 310 run(command => $command, verbose => 1);311 run(command => $command, verbose => $verbose); 311 312 unless ($success) { 312 313 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
