bd5ab545fd2f8439916541d8ba0bd74f7d16e504 kent Tue Mar 20 15:33:58 2012 -0700 Replacing a hash that gives a tdb for a track name with one that gives tdb for a table name. Addresses redmine 7222. diff --git src/hg/hgTables/bigBed.c src/hg/hgTables/bigBed.c index 288aeec..d0a951d 100644 --- src/hg/hgTables/bigBed.c +++ src/hg/hgTables/bigBed.c @@ -15,31 +15,31 @@ #include "obscure.h" #include "hmmstats.h" #include "correlate.h" #include "asParse.h" #include "bbiFile.h" #include "bigBed.h" #include "hubConnect.h" #include "asFilter.h" #include "hgTables.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(fullTrackAndSubtrackHash, table); +struct trackDb *tdb = hashFindVal(fullTableToTdbHash, table); 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; }