10013c858ac5cffd9b27ce28f401b96ac4031863 braney Mon Jun 29 15:07:09 2020 -0700 if trackDb has specific a "table" line, use that and don't look for a bigBed in bigDataUrl diff --git src/hg/hgTables/bigBed.c src/hg/hgTables/bigBed.c index f6b1419..92f86fe 100644 --- src/hg/hgTables/bigBed.c +++ src/hg/hgTables/bigBed.c @@ -20,30 +20,35 @@ #include "correlate.h" #include "asParse.h" #include "bbiFile.h" #include "bigBed.h" #include "hubConnect.h" #include "asFilter.h" #include "hgTables.h" #include "trackHub.h" boolean isBigBed(char *database, char *table, struct trackDb *parent, struct customTrack *(*ctLookupName)(char *table)) /* Local test to see if something is big bed. Handles hub tracks unlike hIsBigBed. */ { struct trackDb *tdb = hashFindVal(fullTableToTdbHash, table); + +// if table was specified, we use that instead of the bigDataUrl +if (tdb && tdb->table) + return FALSE; + if (tdb) return tdbIsBigBed(tdb); else return hIsBigBed(database, table, parent, ctLookupName); } static struct hash *asColumnHash(struct asObject *as) /* Return a hash full of the object's columns, keyed by colum name */ { struct hash *hash = hashNew(6); struct asColumn *col; for (col = as->columnList; col != NULL; col = col->next) hashAdd(hash, col->name, col); return hash; }