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_process_imfile.pl

    r10742 r11297  
    1818use Pod::Usage qw( pod2usage );
    1919
    20 my ($det_id, $exp_tag, $class_id, $det_type, $input_uri, $camera, $no_update);
     20my ($det_id, $exp_tag, $class_id, $det_type, $input_uri, $camera, $bdname, $no_update);
    2121GetOptions(
    2222    'det_id|d=s'        => \$det_id,
     
    2626    'input_uri|u=s'     => \$input_uri,
    2727    'camera|c=s'        => \$camera,
     28    'dbname|d=s'        => \$dbname, # Database name
    2829    'no-update'         => \$no_update
    2930) or pod2usage( 2 );
     
    122123    }
    123124    $command .= " -bg_mean_stdev " . $stats->bg_mean_stdev();
     125    $command .= " -dbname $dbname" if defined $dbname;
    124126
    125127    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.