0e2dca353e0adbf1db6a9367de6931f2ce34b644 rhead Thu May 5 14:43:23 2011 -0700 Fixed the file cleanup at the end so that files are not left around when not debugging. diff --git src/utils/qa/countPerChrom.csh src/utils/qa/countPerChrom.csh index a881f2b..f6f0cb8 100755 --- src/utils/qa/countPerChrom.csh +++ src/utils/qa/countPerChrom.csh @@ -207,25 +207,25 @@ # print some stats if ($max > $histosize) then set eachX=`echo $max1 $histosize | awk '{printf("%d", $1/$2)}'` else set eachX=1 endif echo "max = $max1 | each x = $eachX" echo else # print text, not histogram # output header echo "chrom \t$db \t$oldDb$machineOut" cat Xout$$ endif -if ( $debug == true) then +if ( $debug == false ) then rm -f Xgraph1$$ rm -f Xgraph2$$ rm -f Xgraph1b$$ rm -f Xgraph2b$$ rm -f XgraphFile0$$ rm -f XgraphFile1$$ rm -f XgraphFile2$$ rm -f Xout$$ endif