371fc634183b94991d7c546a9043caab8c84222f kent Tue Feb 1 15:13:38 2011 -0800 Making big bed all field output work in hubs. diff --git src/hg/hgTables/asObj.c src/hg/hgTables/asObj.c index f3e6edd..a178c64 100644 --- src/hg/hgTables/asObj.c +++ src/hg/hgTables/asObj.c @@ -2,31 +2,31 @@ #include "common.h" #include "linefile.h" #include "jksql.h" #include "asParse.h" #include "errCatch.h" #include "hgTables.h" static char const rcsid[] = "$Id: asObj.c,v 1.4 2009/05/20 20:59:55 mikep Exp $"; static struct asObject *asForTableOrDie(struct sqlConnection *conn, char *table) /* Get autoSQL description if any associated with table. Abort if * there's a problem*/ { struct asObject *asObj = NULL; -if (hIsBigBed(database, table, curTrack, ctLookupName)) +if (isBigBed(database, table, curTrack, ctLookupName)) { asObj = bigBedAsForTable(table, conn); } else { if (sqlTableExists(conn, "tableDescriptions")) { char query[256]; char *asText = NULL; /* Try split table first. */ safef(query, sizeof(query), "select autoSqlDef from tableDescriptions where tableName='chrN_%s'", table); asText = sqlQuickString(conn, query);