795662304c0ac18f4fc1e466e75f3ae14021896b braney Wed Aug 27 13:37:33 2025 -0700 oops, wasn't checking type correctly in quickLiftChain.c diff --git src/hg/hgTracks/quickLift.c src/hg/hgTracks/quickLift.c index 13be31161bc..73f030e764a 100644 --- src/hg/hgTracks/quickLift.c +++ src/hg/hgTracks/quickLift.c @@ -59,32 +59,31 @@ hvGfxDrawPoly(hvg, poly, color, TRUE); gfxPolyFree(&poly); } void maybeDrawQuickLiftLines( struct track *tg, int seqStart, int seqEnd, struct hvGfx *hvg, int xOff, int yOff, int width, MgFont *font, Color color, enum trackVisibility vis) /* Draw the indel regions in quickLifted tracks as a highlight. */ { char *quickLiftFile = cloneString(trackDbSetting(tg->tdb, "quickLiftUrl")); if (quickLiftFile == NULL) return; initializeHighlightColors(); boolean drawTriangle = FALSE; -// this should be checking the type not the name -if (sameString("bigQuickLiftChain", tg->tdb->type)) //startsWith("quickLiftChain", trackHubSkipHubName(tg->track))) +if (startsWith("bigQuickLiftChain", tg->tdb->type)) drawTriangle = TRUE; char *liftDb = trackDbSetting(tg->tdb, "quickLiftDb"); struct quickLiftRegions *regions = quickLiftGetRegions(database, liftDb, quickLiftFile, chromName, seqStart, seqEnd); struct quickLiftRegions *hr = regions; int fontHeight = mgFontLineHeight(tl.font); int height = tg->height; if (!drawTriangle && isCenterLabelIncluded(tg)) { height += fontHeight; yOff -= fontHeight; } if (drawTriangle && (hr == NULL)) // if there are no differences make a map for the whole track mapBoxHc(hvg, seqStart, seqEnd, xOff, yOff, width, tg->height, tg->track, hr->id, "identical");