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/detrend_resid.pl

    r11151 r11297  
    2020
    2121my ($det_id, $iter, $exp_tag, $class_id, $det_type, $detrend,
    22         $input_uri, $camera, $mode, $no_update);
     22        $input_uri, $camera, $mode, $dbname, $no_update);
    2323GetOptions(
    2424    'det_id|d=s'        => \$det_id,
     
    3131    'camera|c=s'        => \$camera,
    3232    'mode|m=s'          => \$mode,
     33    'dbname|d=s'        => \$dbname, # Database name
    3334    'no-update'         => \$no_update,
    3435) or pod2usage( 2 );
     
    155156        "-b2_uri $bin2Name"; # Command to run dettool
    156157    $command .= " -bg " . $stats->bg_mean();
     158    $command .= " -dbname $dbname" if defined $dbname;
    157159
    158160    if (defined($stats->bg_mean_stdev())) {
Note: See TracChangeset for help on using the changeset viewer.