src/hg/hgTables/microarrayTables.c 1.5
1.5 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/microarrayTables.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/microarrayTables.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 4 -r1.4 -r1.5
--- src/hg/hgTables/microarrayTables.c 11 May 2009 18:59:58 -0000 1.4
+++ src/hg/hgTables/microarrayTables.c 20 May 2009 20:59:56 -0000 1.5
@@ -11,9 +11,9 @@
boolean isMicroarray(struct trackDb *parent, char *table)
/* Return TRUE if table is specified as a microarray in the current database's
* trackDb. */
{
-struct trackDb *tdb = findTdbForTable(database, parent, table);
+struct trackDb *tdb = findTdbForTable(database, parent, table, ctLookupName);
return (tdb && (startsWith("expRatio", tdb->type) || startsWith("array", tdb->type)));
}
void doOutMicroarrayNames(struct trackDb *tdb)