src/utils/qa/net.csh 1.21
1.21 2010/03/01 18:59:23 ann
Fixed broken logic for finding out if the chrom list is too long to be useful
Index: src/utils/qa/net.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/net.csh,v
retrieving revision 1.20
retrieving revision 1.21
diff -b -B -U 4 -r1.20 -r1.21
--- src/utils/qa/net.csh 9 Jul 2009 21:19:54 -0000 1.20
+++ src/utils/qa/net.csh 1 Mar 2010 18:59:23 -0000 1.21
@@ -15,8 +15,9 @@
set db=""
set chromNum=""
set trackname=""
set currDir=$cwd
+set maxNumChroms=100
if ($2 == "") then
# no command line args
echo
@@ -116,9 +117,9 @@
# echo "$chrom is ok" # debug
endif
end
-if ( `egrep . chromlist$$` < 100 ) then
+if ( `cat $db.chromlist$$ | wc -l` < $maxNumChroms ) then
set chromNum="small"
endif
# -------------------------------------------------