src/utils/qa/doGenbankTests 1.16

1.16 2009/10/14 01:02:41 rhead
Fixed bug that was causing intronEst to be printed in the list of tracks when no such table exists (thanks, pauline).
Index: src/utils/qa/doGenbankTests
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/doGenbankTests,v
retrieving revision 1.15
retrieving revision 1.16
diff -b -B -U 4 -r1.15 -r1.16
--- src/utils/qa/doGenbankTests	8 Jun 2009 18:00:17 -0000	1.15
+++ src/utils/qa/doGenbankTests	14 Oct 2009 01:02:41 -0000	1.16
@@ -106,11 +106,14 @@
 do
   tableExists $db $table && getShortLabel $db $table
 done
 # intronEst is a special case; it may exist only in split form
-if ! tableExists $db intronEst # table is split, but not in trackDb
+if ! tableExists $db intronEst # table is split, but not in trackDb (or not there)
 then
+  if [ -n "$intronEstTables" ] # split tables exist
+  then
   getShortLabel $db intronEst
+  fi
 fi
 echo
 
 # run genePredChecks and pslChecks