Changeset 11297 for trunk/ippScripts/scripts/detrend_process_exp.pl
- Timestamp:
- Jan 25, 2007, 2:55:43 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_process_exp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_process_exp.pl
r10700 r11297 19 19 use Pod::Usage qw( pod2usage ); 20 20 21 my ($det_id, $exp_tag, $camera, $ no_update);21 my ($det_id, $exp_tag, $camera, $dbname, $no_update); 22 22 GetOptions( 23 23 'det_id|d=s' => \$det_id, 24 24 'exp_tag|e=s' => \$exp_tag, 25 25 'camera|c=s' => \$camera, 26 'dbname|d=s' => \$dbname, # Database name 26 27 'no-update' => \$no_update 27 28 ) or pod2usage( 2 ); … … 53 54 { 54 55 my $command = "$dettool -processedimfile -det_id $det_id -exp_tag $exp_tag"; # Command to run 56 $command .= " -dbname $dbname" if defined $dbname; 55 57 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 56 58 run(command => $command, verbose => 1); … … 139 141 "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $jpeg1 -b2_uri $jpeg2 " . 140 142 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; # Command to run 143 $command .= " -dbname $dbname" if defined $dbname; 141 144 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 142 145 run(command => $command, verbose => 1);
Note:
See TracChangeset
for help on using the changeset viewer.
