src/hg/hgTables/rangeHistogram.c 1.6
1.6 2009/05/20 20:59:56 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/rangeHistogram.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/rangeHistogram.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 4 -r1.5 -r1.6
--- src/hg/hgTables/rangeHistogram.c 10 Apr 2009 20:04:29 -0000 1.5
+++ src/hg/hgTables/rangeHistogram.c 20 May 2009 20:59:56 -0000 1.6
@@ -91,9 +91,9 @@
char *db = cartString(cart, hgtaDatabase);
char *table = cartString(cart, hgtaHistoTable);
boolean showItemRgb = FALSE;
-showItemRgb=bedItemRgb(findTdbForTable(db, curTrack, table));
+showItemRgb=bedItemRgb(findTdbForTable(db, curTrack, table, ctLookupName));
// should we expect itemRgb instead of "reserved"
if (showItemRgb && sameWord(field, "reserved"))
htmlOpen("Value range for %s.%s.itemRgb", db, table);