From bac3810069077a6aaf5d5eab609b1c65e1c38044 Mon Sep 17 00:00:00 2001 From: Tim Reddy Tim Date: Fri, 29 Aug 2008 18:27:42 +0000 Subject: [PATCH] Minor typos fixes --- htswanalysis/scripts/SummarizeProject2.pm | 7 +++---- htswanalysis/src/qPCR.cpp | 4 ---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/htswanalysis/scripts/SummarizeProject2.pm b/htswanalysis/scripts/SummarizeProject2.pm index 546dd45..ead12c8 100755 --- a/htswanalysis/scripts/SummarizeProject2.pm +++ b/htswanalysis/scripts/SummarizeProject2.pm @@ -105,12 +105,11 @@ for my $i (0..scalar(@{$xml->{CompareLibraries}})-1) { my $name2 = $xml->{CompareLibraries}->[$i]->{Library}->[1]->{Library}; my $outfile = "../../Tasks/".$task.'/'.$name1."_".$name2.".compare"; $libs{$name1} = 0; $libs{$name2} = 0; - my $correlation; + my $correlation; my $color; if( !(-e $outfile) ) { $correlation = "In Progress..."; $color = "#FFBBBB"; } else { - if(-e $outfile) { $correlation = `cat $outfile | awk '{print \$8}'`; } - my $color; - elsif($correlation > 0.9) { $color = "#BBFFBB"; } + $correlation = `cat $outfile | awk '{print \$8}'`; + if($correlation > 0.9) { $color = "#BBFFBB"; } elsif($correlation > 0.6) { $color = "#BBBBFF"; } else { $color = "#FFBBBB"; } } diff --git a/htswanalysis/src/qPCR.cpp b/htswanalysis/src/qPCR.cpp index 1750b56..a0ec4c8 100755 --- a/htswanalysis/src/qPCR.cpp +++ b/htswanalysis/src/qPCR.cpp @@ -15,10 +15,6 @@ using namespace std; - -void int_to_chromstr(int chrom, char* chr); -int chromstr_to_int(string chrom); - void split (const string& text, const string& separators, vector& words); class Read { -- 2.30.2