79c5090c373a449c3fa3e83949736e7515f03da2 braney Tue Feb 5 09:36:59 2019 -0800 support schemas on bigWigs within composites. #22885 diff --git src/hg/hgTables/schema.c src/hg/hgTables/schema.c index ba52a21..75e2ab5 100644 --- src/hg/hgTables/schema.c +++ src/hg/hgTables/schema.c @@ -669,31 +669,31 @@ boolean isTabix = FALSE; if (isHubTrack(table)) showSchemaHub(db, table); else if (isBigBed(database, table, curTrack, ctLookupName)) showSchemaBigBed(table, tdb); else if (isLongTabixTable(table)) showSchemaLongTabix(table, tdb); else if (isBamTable(table)) showSchemaBam(table, tdb); else if (isVcfTable(table, &isTabix)) showSchemaVcf(table, tdb, isTabix); else if (isCustomTrack(table)) showSchemaCt(db, table); else if (sameWord(table, WIKI_TRACK_TABLE)) showSchemaWiki(tdb, table); -else if (tdb &&startsWithWord("bigWig", tdb->type) && !hTableExists(db, table)) +else if (isBigWig(database, table, curTrack, ctLookupName)) showSchemaBigWigNoTable(db, table, tdb); 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; char parseBuf[256]; dbOverrideFromTable(parseBuf, &db, &table); htmlOpen("Schema for %s", table); tdb = hTrackDbForTrack(database, table); showSchema(db, tdb, table); htmlClose();