cf6a9e74cf9c651774984781fc0232a7132db576 braney Wed Jul 1 09:10:55 2020 -0700 if "table" is explicitly listed, we're going to use that instead of any bigDataUrl diff --git src/hg/hgTables/bigBed.c src/hg/hgTables/bigBed.c index f6b1419..2c27738 100644 --- src/hg/hgTables/bigBed.c +++ src/hg/hgTables/bigBed.c @@ -20,30 +20,34 @@ #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" is explicitly listed, we're going to use that instead of any bigDataUrl +if (tdb && hashLookup(tdb->settingsHash, "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; }