ec19d3999dc5f2d7539c02e1e8e6719fec942038 jcasper Wed May 18 11:29:47 2022 -0700 barChart stats files weren't checking the alternate GBDB file path, refs #29425 diff --git src/hg/lib/barChartUi.c src/hg/lib/barChartUi.c index dd744f5..17edecf 100644 --- src/hg/lib/barChartUi.c +++ src/hg/lib/barChartUi.c @@ -441,31 +441,31 @@ { printf("<div style=\"background-color:%s\">  </span>", val); // printf("<TD><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0><TR>"); } void barChartFacetedUi(char *database, struct cart *cart, struct trackDb *tdb, char *track, char *title, boolean boxed) /* Bar chart track type that has an associated facets tables */ { puts("<br>"); barChartUiLogTransform(cart, track, tdb); puts(" "); barChartUiViewLimits(cart, track, tdb); char *facets = trackDbSetting(tdb, "barChartFacets"); -char *statsFile = trackDbRequiredSetting(tdb, "barChartStatsUrl"); +char *statsFile = hReplaceGbdb(trackDbRequiredSetting(tdb, "barChartStatsUrl")); /* Write html to make white background */ hInsideStyleToWhite(); /* Set up url that has enough context to get back to us. */ struct dyString *returnUrl = dyStringNew(0); dyStringPrintf(returnUrl, "../cgi-bin/hgTrackUi?g=%s", track); dyStringPrintf(returnUrl, "&%s", cartSidUrlString(cart)); /* Load up table from tsv file */ char *requiredStatsFields[] = {"count",}; struct fieldedTable *table = fieldedTableFromTabFile(statsFile, statsFile, requiredStatsFields, ArraySize(requiredStatsFields)); /* Update facet selections from users input if any and get selected part of table */