05eb41c63af8ccd369f76b022d3cf1faab5543c2
braney
  Thu May 26 16:25:07 2022 -0700
changes to support curated hubs

diff --git src/hg/makeDb/trackDb/loadTracks src/hg/makeDb/trackDb/loadTracks
index d6c9616..9a48ee6 100755
--- src/hg/makeDb/trackDb/loadTracks
+++ src/hg/makeDb/trackDb/loadTracks
@@ -14,30 +14,32 @@
 UNAME_N=${UNAME_N/.soe.ucsc.edu/}
 release=''
 settings=''
 local=''
 strict=''
 raName=''
 grpSql=''
 gbdbList=''
 sqlDir='../../lib'
 while [[ $1 == -* ]] ; do
     case $1 in
         -release=*)
             release=$(echo $1 | sed 's/-release=//') ;;
         -strict)
             strict=yes;;
+        -noHtmlCheck)
+            noHtmlCheck=yes;;
         -addVersion)
             addVersion=yes;;
         -settings)
             settings="yes";;
         -raName=*)
             raName=$(echo $1 | sed 's/-raName=//') ;;
         -grpSql=*)
             grpSql=$(echo $1 | sed 's/-grpSql=//') ;;
         -sqlDir=*)
             sqlDir=$(echo $1 | sed 's/-sqlDir=//') ;;
         -gbdbList=*)
             gbdbList=$(echo $1 | sed 's/-gbdbList=//') ;;
         *)
             echo "invalid option: $1" >&2
             exit 1 ;;
@@ -75,30 +77,33 @@
     if [ -f $dbpath/visibility.ra ] ; then
         topts="$topts -visibility=$dbpath/visibility.ra"
     elif [ -f $org/visibility.ra ] ; then
         topts="$topts -visibility=$org/visibility.ra"
     fi
     if [ -f $dbpath/priority.ra ] ; then
         topts="$topts -priority=$dbpath/priority.ra"
     elif [ -f $org/priority.ra ] ; then
         topts="$topts -priority=$org/priority.ra"
     fi
     if [ -n "$release" ] ; then
         topts="$topts -release=$release"
         fopts="$fopts -release=$release"
         qopts="$qopts -release=$release"
     fi
+    if [ -n "$noHtmlCheck" ] ; then
+        topts="$topts -noHtmlCheck"
+    fi
     if [ -n "$addVersion" ] ; then
         topts="$topts -addVersion"
     fi
     if [ -n "$strict" ] ; then
         topts="$topts -strict"
         fopts="$fopts -strict"
         qopts="$qopts -strict"
     fi
     if [ -n "$settings" ] ; then
         topts="$topts -settings"
     fi
     if [ -n "$raName" ] ; then
         topts="$topts -raName=$raName"
         fopts="$fopts -raName=$raName"
     fi