55b54d043a87a29773ca196c360a0af1346947ec hiram Mon Feb 18 07:05:59 2019 -0800 the trackDb from hubs appears to be flattened ? refs #18869 diff --git src/hg/hubApi/hubApi.c src/hg/hubApi/hubApi.c index 8df3375..a80b2df 100644 --- src/hg/hubApi/hubApi.c +++ src/hg/hubApi/hubApi.c @@ -104,30 +104,32 @@ } static void trackSettings(struct trackDb *tdb) /* process the settingsHash for a track */ { hPrintf(" \n"); } static int bbiBriefMeasure(char *type, char *bigDataUrl, char *bigDataIndex, long *chromCount, long *itemCount, struct dyString *errors) /* check a bigDataUrl to find chrom count and item count */ { int retVal = 0; *chromCount = 0; *itemCount = 0; struct errCatch *errCatch = errCatchNew(); if (errCatchStart(errCatch)) { if (startsWithWord("bigNarrowPeak", type) || startsWithWord("bigBed", type) || startsWithWord("bigGenePred", type) @@ -229,93 +231,97 @@ destination->colorB = source->colorB; destination->altColorR = source->altColorR; destination->altColorG = source->altColorG; destination->altColorB = source->altColorB; destination->useScore = source->useScore; destination->private = source->private; destination->url = cloneString(source->url); destination->html = cloneString(source->html); destination->grp = cloneString(source->grp); destination->canPack = source->canPack; destination->settings = cloneString(source->settings); destination->settingsHash = source->settingsHash; } #endif -static void hubTrackList(struct trackDb *tdb, struct trackHubGenome *genome) +static void hubTrackList(struct trackDb *topTrackDb, struct trackHubGenome *genome) /* process the track list to show all tracks, return trackDb list */ { -if (tdb) +if (topTrackDb) { struct hash *countTracks = hashNew(0); hPrintf("