IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 25, 2008, 11:24:38 AM (18 years ago)
Author:
bills
Message:

query_id is not required. If not supplied take the value in the input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/test/detect_query_create

    r18735 r18736  
    2626
    2727pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    28 pod2usage( -msg => "Required options: --input --output --query_id",
     28pod2usage( -msg => "Required options: --input --output",
    2929           -exitval => 3) unless defined $input and defined $output;
    3030
     
    224224            $line_num++;
    225225            chomp $line;
     226            next if !$line;             # skip blank lines
    226227            next if ($line =~ /^#/);    # skip comment lines
    227             next if !$line;             # skip blank lines
    228228            my @vals = split /$sep/, $line;
    229229            my $nvals = @vals;
     
    244244        chomp $line;
    245245        $line_num++;
     246        next if !$line;             # skip blank lines
    246247        next if ($line =~ /^#/);    # skip comment lines
    247         next if !$line;             # skip blank lines
    248248
    249249        my @vals = split /$sep/, $line;
Note: See TracChangeset for help on using the changeset viewer.