1b08e1ab8215cbd95cc76f7bdf1feff353815daa
braney
  Sun Jan 11 09:19:06 2026 -0800
remove warning when definedFieldCount in bigBed headers is not the same
as the value in the trackDb statement.

diff --git src/hg/hgc/bigBedClick.c src/hg/hgc/bigBedClick.c
index f167a70a88b..41a45933335 100644
--- src/hg/hgc/bigBedClick.c
+++ src/hg/hgc/bigBedClick.c
@@ -378,38 +378,30 @@
 if (start == end)
     {
     // item is an insertion; expand the search range from 0 bases to 2 so we catch it:
     ivStart = max(0, start-1);
     ivEnd++;
     }
 char *quickLiftFile = cloneString(trackDbSetting(tdb, "quickLiftUrl"));
 struct hash *chainHash = NULL;
 struct bigBedInterval *bbList = NULL;
 if (quickLiftFile)
     bbList = quickLiftGetIntervals(quickLiftFile, bbi, chrom, ivStart, ivEnd, &chainHash);
 else
     bbList = bigBedIntervalQuery(bbi, chrom, ivStart, ivEnd, 0, lm);
 
 /* Get bedSize if it's not already defined. */
-if (bedSize != 0) // defined in trackDb
-    {
-    // check to make sure trackDb number is the same as the number
-    // of defined fields
-    if (bedSize != bbi->definedFieldCount)
-        warn("trackDb for %s has type with %d bed fields but the bigBed file %s has %d bed fields. Fields may be printed with the wrong contents.", tdb->track, bedSize, fileName, bbi->definedFieldCount);
-    }
-
 boolean bigBedOnePath = cfgOptionBooleanDefault("bigBedOnePath", FALSE);
 if (bigBedOnePath && (bedSize == 0))
     bedSize = bbi->definedFieldCount;
 
 char *scoreFilter = cartOrTdbString(cart, tdb, "scoreFilter", NULL);
 int minScore = 0;
 if (scoreFilter)
     minScore = atoi(scoreFilter);
 
 /* Find particular item in list - matching start, and item if possible. */
 boolean found = FALSE;
 boolean firstTime = TRUE;
 struct bigBedInterval *bb;
 for (bb = bbList; bb != NULL; bb = bb->next)
     {