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("<p>");
 return boxed;
 }
 
 void cfgEndBox(boolean boxed)
 // Handle end of box and title for individual track type settings
 {
 if (boxed)
     puts("</td></tr></table>");
 }
 
 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("<BR><BR><B>Display data as a density graph:</B> ");
 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("<BR>\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("<script type=\"text/javascript\">\n");
 printf("  $(\"[name='%s.autoScale']\").change(function()\n", name);