1d898c9229d7e39bd62ace51dac43823a6a18212
chmalee
  Thu Oct 13 09:25:40 2022 -0700
Remove testing changes to buildTrix, refs #29811

diff --git src/hg/makeDb/trackDb/buildTrix src/hg/makeDb/trackDb/buildTrix
index 3dc8bb0..79f5673 100755
--- src/hg/makeDb/trackDb/buildTrix
+++ src/hg/makeDb/trackDb/buildTrix
@@ -14,44 +14,38 @@
 dbs="$@"
 
 # check if a database exists, print note and return non-zero if it doesn't
 dbExists() {
     local db="$1"
     local dbChk=$(hgsql -Ne 'show databases like "'$db'"')
     if [ -z "$dbChk" ] ; then
         echo "Note: database $db does not exist, skipping"
         return 1
     else
         return 0
     fi
 }
 
 buildDbTrix() {
-    set -x
     local db="$1"
     local trixName="$2"
     local metaDbName="$3"
     local cvRaPath="$4"
     local outPath="$5"
     local tmpFile=`mktemp`;
     local tmpFile2=`mktemp`;
     local tmpFile3=`mktemp`;
     makeTrackIndex $db $metaDbName $cvRaPath > $tmpFile;
     if test -s $tmpFile; then
-        ~/bin/x86_64/ixIxx -maxWordLength=64 $tmpFile $tmpFile2 $tmpFile3
+        ixIxx -maxWordLength=64 $tmpFile $tmpFile2 $tmpFile3
 	chmod 664  $tmpFile2 $tmpFile3
-    ~/bin/x86_64/trixContextIndex $tmpFile ${db}_${trixName}
 	rsync -a $tmpFile2 $outMachine:$outPath/${db}_${trixName}.ix
 	rsync -a $tmpFile3 $outMachine:$outPath/${db}_${trixName}.ixx
-    rsync -a $tmpFile $outMachine:$outPath/${db}_${trixName}.txt
-    rsync -a ${db}_${trixName}.offsets $outMachine:$outPath/${db}_${trixName}.offsets
-    rsync -a ${db}_${trixName}.offsets.ixx $outMachine:$outPath/${db}_${trixName}.offsets.ixx
     fi
     rm -f $tmpFile $tmpFile2 $tmpFile3
-    set +x
 }
 
 for db in $dbs ; do
     if dbExists $db ; then
         buildDbTrix $db $trixName $metaDbName $cvRaPath $outPath
     fi
 done