371fc634183b94991d7c546a9043caab8c84222f kent Tue Feb 1 15:13:38 2011 -0800 Making big bed all field output work in hubs. diff --git src/hg/hgTables/joining.c src/hg/hgTables/joining.c index 9122404..d06396e 100644 --- src/hg/hgTables/joining.c +++ src/hg/hgTables/joining.c @@ -974,31 +974,31 @@ FILE *f, /* file for output, null for stdout */ struct slName *fieldList) /* List of db.table.field */ /* Do tab-separated output on selected fields, which may * or may not include multiple tables. */ { struct joinerDtf *dtfList = NULL; struct joinerDtf *filterTables = NULL; boolean doJoin = joinRequired(primaryDb, primaryTable, fieldList, &dtfList, &filterTables); if (! doJoin) { struct sqlConnection *conn = hAllocConn(dtfList->database); struct dyString *dy = dyStringNew(0); - if (hIsBigBed(database, dtfList->table, NULL, ctLookupName)) + if (isBigBed(database, dtfList->table, NULL, ctLookupName)) makeBigBedOrderedCommaFieldList(dtfList, dy); else if (isCustomTrack(dtfList->table)) makeCtOrderedCommaFieldList(dtfList, dy); else makeDbOrderedCommaFieldList(conn, dtfList->table, dtfList, dy); doTabOutTable(dtfList->database, dtfList->table, f, conn, dy->string); hFreeConn(&conn); } else { struct joiner *joiner = allJoiner; struct joinedTables *joined = joinedTablesCreate(joiner, primaryDb, primaryTable, dtfList, filterTables, 1000000, getRegions()); if (f == NULL) joinedTablesTabOut(joined);