src/hg/featureBits/featureBits.c 1.54

1.54 2009/03/24 20:48:34 mikep
made this a library function, but need to make sure it is semantically identical and tested before removing from featureBits
Index: src/hg/featureBits/featureBits.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/featureBits/featureBits.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -b -B -U 4 -r1.53 -r1.54
--- src/hg/featureBits/featureBits.c	3 Sep 2008 19:18:31 -0000	1.53
+++ src/hg/featureBits/featureBits.c	24 Mar 2009 20:48:34 -0000	1.54
@@ -117,9 +117,9 @@
   "   featureBits database dir/_something.bed\n"
   );
 }
 
-static struct chromInfo *createChromInfoList(char *name, char *database)
+static struct chromInfo *fbCreateChromInfoList(char *name, char *database)
 /* Load up all chromosome infos. */
 {
 struct sqlConnection *conn = sqlConnect(database);
 struct sqlResult *sr = NULL;
@@ -796,9 +796,9 @@
 
 if (chromSizes != NULL)
     chromInfoList = chromInfoLoadAll(chromSizes);
 else
-    chromInfoList = createChromInfoList(clChrom, database);
+    chromInfoList = fbCreateChromInfoList(clChrom, database);
 
 conn = hAllocConn(database);
 checkInputExists(conn, database, chromInfoList, tableCount, tables);