src/utils/qa/findLevel.csh 1.19
1.19 2010/02/02 00:29:51 ann
added logic to find all cases of the track in it's different release alpha/beta and staging locations
Index: src/utils/qa/findLevel.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/findLevel.csh,v
retrieving revision 1.18
retrieving revision 1.19
diff -b -B -U 4 -r1.18 -r1.19
--- src/utils/qa/findLevel.csh 29 Jan 2010 00:24:43 -0000 1.18
+++ src/utils/qa/findLevel.csh 2 Feb 2010 00:29:51 -0000 1.19
@@ -98,10 +97,28 @@
###########################################
# find the trackDb.ra entry (using tdbQuery)
echo " * trackDb:"
-tdbQuery -alpha "select track,priority,visibility,release,filePos from $db" \
- | grep -w -A4 "$tableName"
+set all=`tdbQuery "select track,priority,visibility,release,filePos from $db" \
+ | grep -w -A4 "$tableName"`
+# print this output
tdbQuery "select track,priority,visibility,release,filePos from $db" \
| grep -w -A4 "$tableName"
+set strict=`tdbQuery -strict "select track,priority,visibility,release,filePos from $db" \
+ | grep -w -A4 "$tableName"`
+set alpha=`tdbQuery -alpha "select track,priority,visibility,release,filePos from $db" \
+ | grep -w -A4 "$tableName"`
+
+if ( "$all" != "$strict" ) then
+ # print strict
+ tdbQuery -strict "select track,priority,visibility,release,filePos from $db" \
+ | grep -w -A4 "$tableName"
+endif
+
+if ( "$alpha" != "$all" && "$alpha" != "$strict" ) then
+ # print alpha
+ tdbQuery -alpha "select track,priority,visibility,release,filePos from $db" \
+ | grep -w -A4 "$tableName"
+endif
+
exit 0