58fdf423f2a7170310c1750b9b7739b6113dc990
braney
  Thu May 2 14:39:11 2013 -0700
tolerate missing a freeze field in an assembly hub, and add dense mode to snakes
diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c
index 80caf69..ad0069b 100644
--- src/hg/hgTracks/config.c
+++ src/hg/hgTracks/config.c
@@ -463,31 +463,34 @@
 hPrintf("</TD><TD>");
 hPrintf("Next/previous item navigation");
 hPrintf("</TD></TR>\n");
 
 hPrintf("<TR><TD>");
 hCheckBox("nextExonArrows", cartUsualBoolean(cart, "nextExonArrows", TRUE));
 hPrintf("</TD><TD>");
 hPrintf("Next/previous exon navigation");
 hPrintf("</TD></TR>\n");
 
 hTableEnd();
 cgiDown(0.9);
 
 char *freeze = hFreezeFromDb(database);
 char buf[128];
-if (stringIn(database, freeze))
+if (freeze == NULL)
+    safef(buf, sizeof buf, "Configure Tracks on %s %s: %s",
+	  organization, browserName, trackHubSkipHubName(organism));
+else if (stringIn(database, freeze))
     safef(buf, sizeof buf, "Configure Tracks on %s %s: %s %s",
 	  organization, browserName, trackHubSkipHubName(organism), freeze);
 else
     safef(buf, sizeof buf, "Configure Tracks on %s %s: %s %s (%s)",
 	  organization, browserName, trackHubSkipHubName(organism), freeze, trackHubSkipHubName(database));
 webNewSection(buf);
 hPrintf("Tracks: ");
 if (isSearchTracksSupported(database,cart))
     {
     cgiMakeButtonWithMsg(TRACK_SEARCH, TRACK_SEARCH_BUTTON,TRACK_SEARCH_HINT);
     hPrintf(" ");
     }
 cgiMakeButtonWithMsg(configHideAll, "hide all","Hide all tracks in this genome assembly");
 hPrintf(" ");
 cgiMakeButtonWithMsg(configShowAll, "show all","Show all tracks in this genome assembly");