IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28920


Ignore:
Timestamp:
Aug 16, 2010, 2:00:06 PM (16 years ago)
Author:
rhenders
Message:

Improved method of getting labels from pantasks_client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czartool/Pantasks.pm

    r28844 r28920  
    9191
    9292        chomp($line);
    93         if ($line =~ m/pantasks:\s+(.*)/) {
    94 
    95             if (!$self->outputOk($1)) {return \@labels;}
    96 
    97             # HACK to get around 'dummy' label in stdscience
    98             if ($1 !~ m/.*dummy.*/) {push(@labels, $1);};
    99             $passedHeader=1;
    100             next;
    101         }
    102 
     93        if (!$self->outputOk($line)) {return \@labels;}
     94        if ($line =~ m/pantasks:\s+/) {$passedHeader=1; next;}
    10395        if ($passedHeader) {push(@labels, $line);}
    10496    }
Note: See TracChangeset for help on using the changeset viewer.