fbcba9729a66e8b13f23ee55da62f6b716cea1d0 braney Fri May 13 11:52:29 2016 -0700 Revert "remove "canDoCoverage" hg.conf variable. Density graph is now always" This reverts commit 72211d6e55ffad9e5f12048276243e79f33b71b1. diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 1f3812a..e90ef6d 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -4812,30 +4812,35 @@ else printf("
");
return boxed;
}
void cfgEndBox(boolean boxed)
// Handle end of box and title for individual track type settings
{
if (boxed)
puts("");
}
void wigOption(struct cart *cart, char *name, char *title, struct trackDb *tdb)
/* let the user choose to see the track in wiggle mode */
{
+char *canDoCoverage = cfgOptionEnvDefault("HGDB_CAN_DO_COVERAGE",
+ CanDoCoverageConfVariable, "off");
+if (differentString(canDoCoverage, "on"))
+ return;
+
printf("
Display data as a density graph: ");
char varName[1024];
safef(varName, sizeof(varName), "%s.doWiggle", name);
boolean parentLevel = isNameAtParentLevel(tdb,varName);
boolean option = cartUsualBooleanClosestToHome(cart, tdb, parentLevel,"doWiggle", FALSE);
cgiMakeCheckBox(varName, option);
printf("
\n");
wigCfgUi(cart,tdb,name,title,TRUE);
}
void wiggleScaleDropDownJavascript(char *name)
/* print some js that deactivates the min/max range if autoscaling is activated */
{
printf("