c462c04a3e2cbc628841222f9edcdda4b787f930
chmalee
  Mon Aug 27 15:00:03 2018 -0700
getMatrixLines was searching for 'blastz' specifically, which fails since now our READMEs mention lastz instead, refs #20979

diff --git src/utils/qa/getMatrixLines.csh src/utils/qa/getMatrixLines.csh
index b30b525..cc86201 100755
--- src/utils/qa/getMatrixLines.csh
+++ src/utils/qa/getMatrixLines.csh
@@ -26,33 +26,33 @@
   echo
   exit
 else
   set db1=$argv[1]
   set db2=$argv[2]
 endif
 
 if ( "$HOST" != "hgwdev" ) then
   echo "\n ERROR: you must run this script on dev!\n"
   exit 1
 endif
 
 set Db1=`echo $db1 | perl -wpe '$_ = ucfirst($_)'`
 set Db2=`echo $db2 | perl -wpe '$_ = ucfirst($_)'`
 
-set out1=`grep -sA7 "The blastz scoring" /data/apache/htdocs-hgdownload/goldenPath/$db1/vs$Db2/README.txt \
+set out1=`grep -sA7 "The [b]*lastz scoring" /data/apache/htdocs-hgdownload/goldenPath/$db1/vs$Db2/README.txt \
   | tail -6`
-set out2=`grep -sA7 "The blastz scoring" /data/apache/htdocs-hgdownload/goldenPath/$db2/vs$Db1/README.txt \
+set out2=`grep -sA7 "The [b]*lastz scoring" /data/apache/htdocs-hgdownload/goldenPath/$db2/vs$Db1/README.txt \
   | tail -6`
 
 if ( "$out1" != "") then
   set matrix="$out1"
 else 
   if ( "$out2" != "") then
     set matrix="$out2"
   else
     echo ' \nERROR: cannot find a $matrix variable for this pair\n'
     exit 1
   endif
 endif
 
 # strip any white space from start and end of line
 set matrix=`echo $matrix | sed -e "s/^\s+//"`