IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28454


Ignore:
Timestamp:
Jun 24, 2010, 11:18:44 AM (16 years ago)
Author:
Paul Price
Message:

Fixing cut/paste oversights.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ippScripts/scripts/background_chip.pl

    r28441 r28454  
    4141
    4242# Parse the command-line arguments
    43 my ( $chip_bg_id, $chip_id, $class_id, $camera, $outroot, $dbname, $reduction, $verbose,
     43my ( $chip_bg_id, $class_id, $camera, $outroot, $dbname, $reduction, $verbose,
    4444     $no_update, $save_temps, $no_op, $redirect, $deburned );
    4545GetOptions(
    4646    'chip_bg_id=s'      => \$chip_bg_id,    # chipBackgroundRun identifier
    47     'chip_id=s'         => \$chip_id,   # chipRun identifier
    4847    'class_id=s'        => \$class_id,  # Class identifier
    4948    'camera|c=s'        => \$camera,    # Camera
     
    5958
    6059pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    61 pod2usage( -msg => "Required options: --exp_id --chip_id --chip_imfile_id --class_id --uri --camera --outroot --run-state",
     60pod2usage( -msg => "Required options: --chip_bg_id --class_id --camera --outroot",
    6261           -exitval => 3) unless
    6362    defined $chip_bg_id and
    64     defined $chip_id and
    6563    defined $class_id and
    6664    defined $camera and
     
    237235
    238236    carp($msg);
    239     if (defined $chip_id and defined $class_id and not $no_update) {
     237    if (defined $chip_bg_id and defined $class_id and not $no_update) {
    240238        my $command = "$bgtool -addchip";
    241239        $command .= " -chip_bg_id $chip_bg_id";
Note: See TracChangeset for help on using the changeset viewer.