985687c2e3ba9ac8ff822c7d53371f369cd4a974
gperez2
  Tue Jan 7 11:37:27 2025 -0800
Updating the script using Jonathan's suggestion for 'curl'. NO RM

diff --git src/utils/qa/hubPublicAutoUpdate src/utils/qa/hubPublicAutoUpdate
index d984237..be1d137 100755
--- src/utils/qa/hubPublicAutoUpdate
+++ src/utils/qa/hubPublicAutoUpdate
@@ -74,31 +74,31 @@
         hubPublicDic[hub[0]] = {'hubUrl':hub[0],'shortLabel':hub[1],'longLabel':hub[2],\
                             'registrationTime':hub[3],'dbCount':hub[4],\
                             'dbList':hub[5],'descriptionUrl':hub[6]}
     return(hubPublicDic)
 
 def escapeDoubleQuotesOnLabels(label):
     """Look for single and double quotes in labels"""
     if '"' in label:
         label = label.replace('"','\\"')
     if "'" in label:
         label = label.replace("'","\\'")
     return(label)
 
 def curl(url):
     """Run curl command on URL - for http + ftp support"""
-    rawCurlOutput = subprocess.run("/usr/bin/curl --user-agent \"genome.ucsc.edu/net.c\" -skL --fail --connect-timeout 10 "+url,\
+    rawCurlOutput = subprocess.run("curl --user-agent \"genome.ucsc.edu/net.c\" -skL --fail --connect-timeout 10 "+url,\
                          check=True, shell=True, stdout=subprocess.PIPE, universal_newlines=True)
     curlStdout = rawCurlOutput.stdout
     return(curlStdout)
 
 def buildCurrentHubTxtDic(hub):
     """Query hub.txt file and build dic of values"""
     currentHub = {}
     response = curl(hub)
     for line in response.splitlines():
         if "\t" in line.rstrip():
             line = line.split("\t")
             currentHub[line[0]] = line[1]
         else:
             line = line.split(" ")
             currentHub[line[0]] = " ".join(line[1:])