Changeset 11297 for trunk/ippScripts/scripts/detrend_stack.pl
- Timestamp:
- Jan 25, 2007, 2:55:43 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_stack.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_stack.pl
r11151 r11297 19 19 use Pod::Usage qw( pod2usage ); 20 20 21 my ($det_id, $iter, $class_id, $det_type, $camera, $ no_update);21 my ($det_id, $iter, $class_id, $det_type, $camera, $dbname, $no_update); 22 22 GetOptions( 23 23 'det_id|d=s' => \$det_id, … … 26 26 'det_type|t=s' => \$det_type, 27 27 'camera|c=s' => \$camera, 28 'dbname|d=s' => \$dbname, # Database name 28 29 'no-update' => \$no_update 29 30 ) or pod2usage( 2 ); … … 65 66 { 66 67 my $command = "$dettool -processedimfile -det_id $det_id -class_id $class_id -included"; # Command to run 68 $command .= " -dbname $dbname" if defined $dbname; 67 69 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 68 70 run(command => $command, verbose => 1); … … 128 130 } 129 131 $command .= ' -bg_mean_stdev ' . $stats->bg_mean_stdev(); 132 $command .= " -dbname $dbname" if defined $dbname; 130 133 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 131 134 run(command => $command, verbose => 1);
Note:
See TracChangeset
for help on using the changeset viewer.
