0aa638ae2c6f3d2ee4e1b06ad91166c5eaef58cc
max
Tue Jun 6 13:19:55 2017 -0700
adding a line break for large screens, refs #13634
diff --git src/hg/hgGeneGraph/hgGeneGraph src/hg/hgGeneGraph/hgGeneGraph
index 955c1c9..5f86b2b 100755
--- src/hg/hgGeneGraph/hgGeneGraph
+++ src/hg/hgGeneGraph/hgGeneGraph
@@ -1192,31 +1192,31 @@
writeDot(allGenes, weightedLinks, tmpName, targetGene, geneDescs, annotLabel, geneAnnots, linkSnips)
if len(allGenes)>=100:
alg = "fdp"
picName, mapName = runDot(tmpName, alg, format)
if format!="png":
printHttpHead(format)
sys.stdout.write(open(picName,"rb").read())
sys.stdout.flush()
return
# text above graph
print("Mouse over or click genes or lines for details. Dashed lines indicate interactions without text mining support. ")
print("Click any gene to make it the new center. Click any line to show details about the interaction. ")
print("Only %s-interacting genes and only the most-mentioned/most-curated interactions are shown in the graph. " % (targetGene))
- print("See the Help Page for details.")
+ print("See the Help Page for details.
")
# menu above graph
# background #fffef5 would be an alternive
print '
"
# graph itself
print '' % picName
map = open(mapName).read()
print map
print '
"