IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27912


Ignore:
Timestamp:
May 11, 2010, 8:43:33 AM (16 years ago)
Author:
rhenders
Message:

More meaningful numbers for faults; fixed bug when listing labels for non-stdscience servers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czartool.pl

    r27864 r27912  
    146146
    147147        chomp($line);
    148         if ($line =~ m/pantasks:/) {$passedHeader=1; next;}
    149 
     148        if ($line =~ m/pantasks:\s+(.*)/) {
     149           
     150            # HACK to get around 'dummy' label in stdscience
     151            if ($1 !~ m/.*dummy.*/) {push(@labels, $!);}
     152            $passedHeader=1;
     153            next;
     154        }
     155       
    150156        if ($passedHeader){push(@labels, $line);}
    151157    }
     
    355361
    356362    my $query = $db->prepare(<<SQL);
    357     SELECT COUNT(*)
     363    SELECT COUNT(DISTINCT $id)
    358364        FROM $table
    359365        JOIN $joinTable USING ($id)
Note: See TracChangeset for help on using the changeset viewer.