src/hg/lib/suggest.c 1.3
1.3 2010/02/06 03:21:00 larrym
one more try at rcsid
Index: src/hg/lib/suggest.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/suggest.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 1000000 -r1.2 -r1.3
--- src/hg/lib/suggest.c 6 Feb 2010 03:16:41 -0000 1.2
+++ src/hg/lib/suggest.c 6 Feb 2010 03:21:00 -0000 1.3
@@ -1,20 +1,20 @@
/* code to support suggesting genes given a prefix typed by the user. */
#include "suggest.h"
-static char const rcsid[] = "$Id: ";
+static char const rcsid[] = "$Id$";
boolean connSupportsGeneSuggest(struct sqlConnection *conn)
// return true if this connection has tables to support gene autocompletion
{
return sqlTableExists(conn, "knownCanonical") || sqlTableExists(conn, "refGene");
}
boolean assemblySupportsGeneSuggest(char *database)
// return true if this assembly has tables to support gene autocompletion
{
struct sqlConnection *conn = hAllocConn(database);
boolean retval = connSupportsGeneSuggest(conn);
hFreeConn(&conn);
return retval;
}