4a234f089be336a40604bf7002b3811dc3dad308 kent Mon Aug 9 14:58:47 2010 -0700 Adding a trackHash parameter to a bunch of metadata routines so that they could find the track associated with a table. Fixing clipping bug in hgTracks.c for multiWig labels when in non-overlay mode due to a special case that seems to be obsolete (did fair bit of testing to make sure it's not used.) diff --git src/hg/hgTables/hgTables.h src/hg/hgTables/hgTables.h index 065128d..8ad3834 100644 --- src/hg/hgTables/hgTables.h +++ src/hg/hgTables/hgTables.h @@ -40,6 +40,7 @@ extern char *database; /* Current database, often but not always dbDatabase. */ extern char *freezeName; /* Date of assembly. */ extern struct trackDb *fullTrackList; /* List of all tracks in database. */ +extern struct hash *fullTrackHash; /* Hash of tracks in fullTrackList keyed by ->track field. */ extern struct trackDb *curTrack; /* Currently selected track. */ extern struct customTrack *theCtList; /* List of custom tracks. */ extern char *curTable; /* Current selected table. */