src/hg/hgTables/asObj.c 1.4

1.4 2009/05/20 20:59:55 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/asObj.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/asObj.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/hg/hgTables/asObj.c	17 Mar 2009 17:24:50 -0000	1.3
+++ src/hg/hgTables/asObj.c	20 May 2009 20:59:55 -0000	1.4
@@ -13,9 +13,9 @@
 /* Get autoSQL description if any associated with table.   Abort if
  * there's a problem*/
 {
 struct asObject *asObj = NULL;
-if (isBigBed(table))
+if (hIsBigBed(database, table, curTrack, ctLookupName))
     {
     asObj = bigBedAsForTable(table, conn);
     }
 else