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

    r10700 r11297  
    2323    $camera,                    # Camera
    2424    $detType,                   # Detrend type
     25    $dbname,                    # Database name
    2526    $no_update                  # Don't update the database
    2627    );
     
    3334    'camera|c=s'        => \$camera,
    3435    'det_type|t=s'      => \$detType,
     36    'dbname|d=s'        => \$dbname,
    3537    'no-update'         => \$no_update
    3638    ) or pod2usage( 2 );
     
    115117    }
    116118    $command .= " -bg_mean_stdev " . $stats->bg_mean_stdev();
     119
     120    $command .= " -dbname $dbname" if defined $dbname;
     121
    117122    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    118123        run(command => $command, verbose => 1);
Note: See TracChangeset for help on using the changeset viewer.