src/utils/qa/countPerChrom.csh 1.12
1.12 2009/06/08 23:21:42 kuhn
allowed use of "hgwbeta" as argument
Index: src/utils/qa/countPerChrom.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/countPerChrom.csh,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -B -U 4 -r1.11 -r1.12
--- src/utils/qa/countPerChrom.csh 3 Jun 2009 01:56:14 -0000 1.11
+++ src/utils/qa/countPerChrom.csh 8 Jun 2009 23:21:42 -0000 1.12
@@ -38,9 +38,9 @@
echo " usage: database1 table [database2] [RR]"
echo
echo " checks database1 on dev"
echo " database2 will be checked on beta by default"
- echo " RR will use genome-mysql if specified"
+ echo " if RR is specified, will use genome-mysql"
echo
exit
else
set db=$argv[1]
@@ -52,12 +52,17 @@
set host2="mysql -h genome-mysql -u genome -A"
set oldDb=$db
set machineOut="(${argv[3]})"
else
- # argv[3] must be a db
- set oldDb=$argv[3]
set host2="hgsql -h $sqlbeta"
set machineOut="(hgwbeta)"
+ if ( $argv[3] == "hgwbeta" ) then
+ # allow use of "hgwbeta to check same db in two places
+ set oldDb=$db
+ else
+ # argv[3] must be a db
+ set oldDb=$argv[3]
+ endif
endif
endif
if ( $#argv == 4 ) then