340acb05377b79238496b30f55a1e047d36a469c galt Mon Feb 22 16:17:58 2016 -0800 refs #16860. Fixes bug detected with clinGen track which caused it to go through a previously untested code path. Luckily the fix was simply filling in the missing chrom name in a structure. diff --git src/hg/hgTracks/bedTrack.c src/hg/hgTracks/bedTrack.c index 0109d23..a9ae26d 100644 --- src/hg/hgTracks/bedTrack.c +++ src/hg/hgTracks/bedTrack.c @@ -644,30 +644,31 @@ if (next) { newWinEnd = bed->chromEnd + bufferToEdge; newWinStart = newWinEnd - winSize; } else { newWinStart = bed->chromStart - bufferToEdge; newWinEnd = newWinStart + winSize; } struct convertRange *cr=NULL; AllocVar(cr); if (( next && newWinEnd > winStart) || (!next && newWinStart < winEnd )) { + cr->chrom = bed->chrom; cr->start = newWinStart; cr->end = newWinEnd; } else { cr->skipIt = TRUE; } linkedFeaturesNextPrevExonFind(tg, next, cr); long newVirtWinStart = cr->vStart; long newVirtWinEnd = cr->vEnd; if (newVirtWinStart != -1) // found it { mapBoxJumpTo(hvg, x, y, w, h, tg, virtChromName, newVirtWinStart, newVirtWinEnd, mouseOverText); result = TRUE; }