6726d942c07c6342e76ef54cfa4daac30fc321e2 galt Tue Aug 19 15:29:27 2025 -0700 Revert "initial check-in minimal bigBedTrack" This reverts commit 6bd9e5d7816b693462f8db468253aea8f999fb81. This is the first commit on dev branch rm35580-noPreloadInbigBedTrack. diff --git src/hg/hgTracks/bigBedTrack.c src/hg/hgTracks/bigBedTrack.c index 7e4aa8d367d..48a606ab637 100644 --- src/hg/hgTracks/bigBedTrack.c +++ src/hg/hgTracks/bigBedTrack.c @@ -482,42 +482,35 @@ maxItems = sqlUnsigned(maxItemsStr); set = TRUE; } return maxItems; } struct bigBedInterval *bigBedSelectRangeExt(struct track *track, char *chrom, int start, int end, struct lm *lm, int maxItems) /* Return list of intervals in range. */ { struct bigBedInterval *result = NULL; /* protect against temporary network error */ struct errCatch *errCatch = errCatchNew(); - -//GALT DEBUG RESTORE ? boolean filtering = FALSE; // for the moment assume we're not filtering - +boolean filtering = FALSE; // for the moment assume we're not filtering if (errCatchStart(errCatch)) { struct bbiFile *bbi = fetchBbiForTrack(track); result = bigBedIntervalQuery(bbi, chrom, start, end, bigBedMaxItems() + 1, lm); - /* //GALT DEBUG RESTORE - This causes some real issues for MR, I have a work-around on another branch, - but since hgTracks already has code that works right and sets limitWiggle for tracks automatically, - without this, testing is not helping. - if (slCount(result) > bigBedMaxItems()) { if (filtering) errAbort("Too many items in window to filter.Zoom in or remove filters to view track."); else { // use summary levels if (track->visibility != tvDense) { track->limitedVis = tvFull; track->limitWiggle = TRUE; track->limitedVisSet = TRUE; } else { @@ -531,31 +524,30 @@ char *denseCoverage = trackDbSettingClosestToHome(track->tdb, "denseCoverage"); if (denseCoverage != NULL) { double endVal = atof(denseCoverage); if (endVal <= 0) { AllocVar(track->sumAll); *track->sumAll = bbiTotalSummary(bbi); } } } else freez(&track->summary); } } - */ track->bbiFile = NULL; } errCatchEnd(errCatch); if (errCatch->gotError) { track->networkErrMsg = cloneString(errCatch->message->string); track->drawItems = bigDrawWarning; track->totalHeight = bigWarnTotalHeight; result = NULL; } errCatchFree(&errCatch); return result; }