IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 25, 2007, 2:55:43 PM (19 years ago)
Author:
Paul Price
Message:

Adding -dbname to all scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/phase2.pl

    r11110 r11297  
    2323    $camera,                    # Camera
    2424    $outpath,                   # Outpath
     25    $dbname,                    # Database name
    2526    $no_update                  # Don't update the database?
    2627    );
     
    3132    'camera|c=s'    => \$camera,
    3233    'outpath|o=s'   => \$outpath,
     34    'dbname|d=s'    => \$dbname, # Database name
    3335    'no-update'     => \$no_update
    3436) or pod2usage( 2 );
     
    102104$outputBin2  = $ipprc->convert_filename_relative( $outputBin2 );
    103105unless ($no_update) {
    104     # Command to run dettool
     106    # Command to run p2tool
    105107    my $command = "$p2tool -addprocessedimfile";
    106108    $command .= " -exp_tag $expTag";
     
    113115    $command .= " -bg_stdev " . $stats->bg_stdev();
    114116    $command .= " -bg_mean_stdev " . $stats->bg_mean_stdev();
     117    $command .= " -dbname $dbname" if defined $dbname;
    115118
    116119    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.