e01154e5326c5b380ba1af9c8b74a2011c1ec525
jnavarr5
  Tue Apr 15 11:58:31 2025 -0700
Forgot to add the ? to specify the parameters for the panelApp otto, no Redmine.

diff --git src/hg/utils/otto/panelApp/genes.py src/hg/utils/otto/panelApp/genes.py
index 6dd4d94a2ff..cee86a2ea9c 100755
--- src/hg/utils/otto/panelApp/genes.py
+++ src/hg/utils/otto/panelApp/genes.py
@@ -82,31 +82,31 @@
     logging.info("Got %d gene symbols" % len(syms))
     return list(syms)
 
 def getGenesLocations(jsonFh):
     hg19_dict = dict()
     hg38_dict = dict()
     repeat19 = list()
     repeat38 = list()
     continuous_count = 0
     genes_missing_info = list()
     genes_no_location = list()
 
     syms = getGeneSymbols()
 
     for sym in syms:
-        url = "https://panelapp.genomicsengland.co.uk/api/v1/genes/entity_name={}&format=json".format(sym)
+        url = "https://panelapp.genomicsengland.co.uk/api/v1/genes/?entity_name={}&format=json".format(sym)
 
         count = 0
         while True:
             try:
                 myResponse = requests.get(url)
                 if myResponse.ok:
                     break
                 else:
                     logging.error("Some error on %s, retrying after 1 minute (trial %d)" % (url, count))
             except Exception:
                 logging.error("HTTP error on %s, retrying after 1 minute (trial %d)" % (url, count))
 
             time.sleep(60)    # Wait 1 minute before trying again
             count += 1        # Count the number of tries before failing
             if count > 10:    # Quit afer 10 failed attempts