8f86c2b590033a0f28d6c47dfece59b51528193b
braney
  Fri Jan 26 10:51:00 2024 -0800
some tweaks to coverage mode.

diff --git src/hg/hgTracks/variation.c src/hg/hgTracks/variation.c
index 62246bd..8c844ef 100644
--- src/hg/hgTracks/variation.c
+++ src/hg/hgTracks/variation.c
@@ -2873,40 +2873,30 @@
 return minMaf;
 }
 
 static void bigDbSnpLoadItems(struct track *tg)
 /* Convert bigDbSnp items in window to linkedFeatures. */
 {
 struct linkedFeatures *lfList = NULL;
 double minMaf = getMinMaf(tg->tdb);
 // If minMaf is 0, there's no need to filter so set freqSourceIx to -1.
 int freqSourceIx = (minMaf == 0.0) ? -1 : getFreqSourceIx(tg->tdb);
 char *maxItemStr = trackDbSetting(tg->tdb, "maxItems");
 int maxItems = isNotEmpty(maxItemStr) ? atoi(maxItemStr) : 250000;
 bigBedAddLinkedFeaturesFromExt(tg, chromName, winStart, winEnd, freqSourceIx, 0, FALSE, 4, &lfList,
                                maxItems);
 slReverse(&lfList);
-// if the summary is filled in then the number of items in the region is greater than maxItems.
-if (tg->summary != NULL)
-    {
-    // too many items to display
-    tg->drawItems = bigDrawWarning;
-    tg->networkErrMsg = "Too many variants in display (zoom in to see details)";
-    tg->totalHeight = bigWarnTotalHeight;
-    tg->items = NULL;
-    }
-else
 tg->items = lfList;
 }
 
 static Color bigDbSnpColor(struct track *tg, void *item, struct hvGfx *hvg)
 /* Return color stashed away in lf->filterColor. */
 {
 struct linkedFeatures *lf = (struct linkedFeatures *)item;
 return lf->filterColor;
 }
 
 static boolean bdsIsIndel(struct bigDbSnp *bds, int *retMinAltLen, int *retMaxAltLen)
 /* Set *ret{Min,Max}AltLen to the {least,greatest} alt allele length.
  * Return TRUE if any alt is shorter or longer than ref. */
 {
 int refLen = strlen(bds->ref);