b2b604a79d0823e6e52524365371c0307961bfef max Wed Jan 17 08:30:16 2024 -0800 small tweak to RR hotfix, the previous limits very extremely strict, refs #32876 diff --git src/hg/hgGeneGraph/hgGeneGraph src/hg/hgGeneGraph/hgGeneGraph index 2691672..3680d9c 100755 --- src/hg/hgGeneGraph/hgGeneGraph +++ src/hg/hgGeneGraph/hgGeneGraph @@ -2006,31 +2006,31 @@ exit(0) link = getCgiVar("link") if link!=None: showLink(link) exit(0) page = getCgiVar("page") if page=="stats": showStats() exit(0) showGraphBrowser() def main(): - cgiSetup(bottleneckFraction=3, useBytes=2) + cgiSetup(bottleneckFraction=2, useBytes=2) format = getCgiVar("format") if format in ["pdf", "svg", "sif", "json"]: conn = sqlConnect(GGDB) gene, alg, addNeighbors, sortByCount, geneCount = parseGraphArgs() graphLinks, lowLinks = buildGraph(conn, gene, geneCount, MINSUPP, addNeighbors) weightedLinks, minAbsCount = flattenLink(graphLinks) printGraph(conn, weightedLinks, alg, addNeighbors, gene, format) sys.exit(0) # Apache doesn't set LANG, so the default encoding of stdout is ASCII: Change it to utf8 import codecs sys.stdout = open(1, 'w', encoding='utf-8', closefd=False)