cb245d0c42739a9904c6239e59817e5dec052f49 max Wed Nov 6 07:40:02 2024 -0800 hide legend if all gnomad pli tracks are hidden, refs #26169 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index cb092c1..97ad15d 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -9507,44 +9507,46 @@ "return imageV2.navigateButtonClick(this);"); hTextVar("dinkR", cartUsualString(cart, "dinkR", "2.0"), 3); hButtonWithOnClick("hgt.dinkRR", " > ", "Move end position to the right", "return imageV2.navigateButtonClick(this);"); hPrintf(""); hPrintf("\n"); } if( chromosomeColorsMade ) { hPrintf("Chromosome Color Key:
"); hPrintf("
\n"); } if (doPliColors) { + hPrintf("
"); hPrintf("gnomAD Loss-of-Function Constraint (LOEUF) Color Key:
"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("\n"); hPrintf("
< 0.1< 0.2< 0.3< 0.4< 0.5< 0.6< 0.7< 0.8< 0.9≥ 0.9No LOEUF score
\n"); + hPrintf("
"); // gnomadColorKeyLegend } if (showTrackControls) { /* Display viewing options for each track. */ /* Chuck: This is going to be wrapped in a table so that * the controls don't wrap around randomly */ hPrintf("\n"); // since this is all a huge table (which it shouldn't be), the only way to add whitespace between two rows is to add an empty row // since padding and margin are not allowed on table rows. (One day, we will remove this table) hPrintf("\n"); hPrintf("
\n");