src/hg/hgTables/sumStats.c 1.28

1.28 2009/05/20 20:59:57 mikep
Libified findTdbForTable, findTypeForTable, trackIsType, hIsBigBed from hgTables so that other code can easily determine if a track is a bigBed.
Index: src/hg/hgTables/sumStats.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/sumStats.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -b -B -U 4 -r1.27 -r1.28
--- src/hg/hgTables/sumStats.c	10 Apr 2009 20:04:30 -0000	1.27
+++ src/hg/hgTables/sumStats.c	20 May 2009 20:59:57 -0000	1.28
@@ -376,9 +376,9 @@
 if (isWiggle(database, curTable))
     doSummaryStatsWiggle(conn);
 else if (isBigWig(curTable))
     doSummaryStatsBigWig(conn);
-else if (isChromGraph(findTdbForTable(database, curTrack, curTable)))
+else if (isChromGraph(findTdbForTable(database, curTrack, curTable, ctLookupName)))
     doSummaryStatsChromGraph(conn);
 else if (sameWord(curTable,WIKI_TRACK_TABLE))
     doSummaryStatsWikiTrack(conn);
 else