371fc634183b94991d7c546a9043caab8c84222f
kent
Tue Feb 1 15:13:38 2011 -0800
Making big bed all field output work in hubs.
diff --git src/hg/hgTables/schema.c src/hg/hgTables/schema.c
index e03f9b4..3fee71b 100644
--- src/hg/hgTables/schema.c
+++ src/hg/hgTables/schema.c
@@ -597,31 +597,31 @@
type, trackDbSetting(tdb, "bigDataUrl"));
if (sameString(type, "bigBed"))
showSchemaBigBed(table);
}
static void showSchemaWiki(struct trackDb *tdb, char *table)
/* Show schema for the wikiTrack. */
{
hPrintf("User annotations to UCSC genes or genome regions
\n");
showSchemaDb(wikiDbName(), tdb, table);
}
static void showSchema(char *db, struct trackDb *tdb, char *table)
/* Show schema to open html page. */
{
-if (hIsBigBed(database, table, curTrack, ctLookupName))
+if (isBigBed(database, table, curTrack, ctLookupName))
showSchemaBigBed(table);
else if (isCustomTrack(table))
showSchemaCt(db, table);
else if (isHubTrack(table))
showSchemaHub(db, table);
else if (sameWord(table, WIKI_TRACK_TABLE))
showSchemaWiki(tdb, table);
else
showSchemaDb(db, tdb, table);
}
void doTableSchema(char *db, char *table, struct sqlConnection *conn)
/* Show schema around table (which is not described by curTrack). */
{
struct trackDb *tdb = NULL;