Changeset 11297 for trunk/ippScripts/scripts/phase3.pl
- Timestamp:
- Jan 25, 2007, 2:55:43 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/phase3.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/phase3.pl
r11110 r11297 19 19 use Pod::Usage qw( pod2usage ); 20 20 21 my ($exp_tag, $camera, $outpath, $ no_update);21 my ($exp_tag, $camera, $outpath, $dbname, $no_update); 22 22 GetOptions( 23 23 'exp_tag|e=s' => \$exp_tag, 24 24 'camera|c=s' => \$camera, 25 'outpath|o=s' => \$outpath, 25 'outpath|o=s' => \$outpath, 26 'dbname|d=s' => \$dbname, # Database name 26 27 'no-update' => \$no_update 27 28 ) or pod2usage( 2 ); … … 52 53 { 53 54 my $command = "$p3tool -pendingimfile -exp_tag $exp_tag"; # Command to run 55 $command .= " -dbname $dbname" if defined $dbname; 54 56 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 55 57 run(command => $command, verbose => 1); … … 149 151 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev " . 150 152 "-sigma_ra 0.0 -sigma_dec 0.0 -nastro 0 -zp_mean 0.0 -zp_stdev 0.0"; # Command to run 153 $command .= " -dbname $dbname" if defined $dbname; 151 154 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 152 155 run(command => $command, verbose => 1);
Note:
See TracChangeset
for help on using the changeset viewer.
