bd5ab545fd2f8439916541d8ba0bd74f7d16e504 kent Tue Mar 20 15:33:58 2012 -0700 Replacing a hash that gives a tdb for a track name with one that gives tdb for a table name. Addresses redmine 7222. diff --git src/hg/hgTables/sumStats.c src/hg/hgTables/sumStats.c index 8e9f074..1975ccf 100644 --- src/hg/hgTables/sumStats.c +++ src/hg/hgTables/sumStats.c @@ -359,27 +359,26 @@ numberStatRow("bases in gaps", gapTotal); floatStatRow("load time", 0.001*loadTime); floatStatRow("calculation time", 0.001*calcTime); floatStatRow("free memory time", 0.001*freeTime); stringStatRow("filter", (anyFilter() ? "on" : "off")); stringStatRow("intersection", (anyIntersection() ? "on" : "off")); hTableEnd(); covStatsFreeList(&itemCovList); covStatsFreeList(&blockCovList); htmlClose(); } void doSummaryStats(struct sqlConnection *conn) /* Put up page showing summary stats for track. */ { -hgBotDelay(); if (isWiggle(database, curTable)) doSummaryStatsWiggle(conn); else if (isBigWigTable(curTable)) doSummaryStatsBigWig(conn); else if (isChromGraph(findTdbForTable(database, curTrack, curTable, ctLookupName))) doSummaryStatsChromGraph(conn); else if (sameWord(curTable,WIKI_TRACK_TABLE)) doSummaryStatsWikiTrack(conn); else doSummaryStatsBed(conn); }