2f215ce23581e32e517c7d617744d12989a96fb8 braney Tue Sep 9 13:53:03 2025 -0700 when writing out quickLift hubs, strip hub name off of the parent statment of children of supertracks diff --git src/hg/lib/trackHub.c src/hg/lib/trackHub.c index 53f35d95e38..754c3946d2c 100644 --- src/hg/lib/trackHub.c +++ src/hg/lib/trackHub.c @@ -1613,31 +1613,31 @@ } static void dumpTdbAndChildren(struct cart *cart, struct dyString *dy, struct trackDb *tdb) /* Put a trackDb entry into a dyString, stepping up the tree for some variables. */ { struct hashCookie cookie = hashFirst(tdb->settingsHash); struct hashEl *hel; char *cartVis = cartOptionalString(cart, tdb->track); if (cartVis != NULL) tdb->visibility = hTvFromString(cartVis); dyStringPrintf(dy, "visibility %s\n", hStringFromTv(tdb->visibility)); if (tdbIsSuperTrack(tdb->parent)) - dyStringPrintf(dy, "parent %s\n", tdb->parent->track); + dyStringPrintf(dy, "parent %s\n", trackHubSkipHubName(tdb->parent->track)); while ((hel = hashNext(&cookie)) != NULL) { if (sameString(hel->name, "parent")) { char buffer[1024]; safef(buffer, sizeof buffer, "%s_sel", tdb->track); char *cartSelected = cartOptionalString(cart, tdb->track); if (cartSelected != NULL) { char *str = "off"; if (sameString(cartSelected, "1")) str = "on"; dyStringPrintf(dy, "parent %s %s\n", trackHubSkipHubName(tdb->parent->track), str);