IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2011, 3:02:30 PM (15 years ago)
Author:
watersc1
Message:

Final v3.0 of LAP code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/lap_science.pl

    r32435 r32437  
    12231223    if (defined($queue_list)) {
    12241224        my $successful = 1;
    1225         open(Q,$queue_list) || $successful = 0;
     1225        open(Q,$queue_list) or ($successful = 0);
    12261226        if ($successful == 1) {
    12271227            while(<Q>) {
     
    12291229                my $cmd = $_;
    12301230                my ($projection_cell,$seq_id,$filter,$label);
    1231                 $projection_cell = $define_cmd;
     1231                $projection_cell = $cmd;
    12321232                $projection_cell =~ s/.*?-projection_cell (skycell.\w+?) .*/$1/;
    1233                 $seq_id = $define_cmd;
     1233                $seq_id = $cmd;
    12341234                $seq_id =~ s/.*-seq_id (\d+?) .*/$1/;
    1235                 $filter = $define_cmd;
     1235                $filter = $cmd;
    12361236                $filter =~ s/.*-filter (\w\.00000) .*/$1/;
    12371237                if ($filter =~ /\s+?/) {
    12381238                    $filter =~ s/.*-filter (\w\.00000)$/$1/;
    12391239                }
    1240                 $label = $define_cmd;
     1240                $label = $cmd;
    12411241                $label =~ s/.*-label (.+?) .*/$1/;
    12421242               
Note: See TracChangeset for help on using the changeset viewer.