src/hg/hgTables/maf.c 1.17

1.17 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/maf.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/maf.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -b -B -U 4 -r1.16 -r1.17
--- src/hg/hgTables/maf.c	29 Sep 2008 22:33:42 -0000	1.16
+++ src/hg/hgTables/maf.c	20 May 2009 20:59:56 -0000	1.17
@@ -62,9 +62,9 @@
 if (isCustomTrack(table))
     {
     ctConn = hAllocConn(CUSTOM_TRASH);
     ctConn2 = hAllocConn(CUSTOM_TRASH);
-    ct = lookupCt(table);
+    ct = ctLookupName(table);
     struct hash *settings = track->settingsHash;
     if ((mafFile = hashFindVal(settings, "mafFile")) == NULL)
 	{
 	/* this shouldn't happen */