c6306a077a462a5c6e786ecd8c3ddcb416dc0075 hiram Wed Oct 6 12:20:13 2010 -0700 eliminate the chrom argument from function hTrackDb() in hdb.c diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index fdb57ab..ae92681 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -420,12 +420,15 @@ boolean hTrackOnChrom(struct trackDb *tdb, char *chrom); /* Return TRUE if track exists on this chromosome. */ -struct trackDb *hTrackDb(char *db, char *chrom); -/* Load tracks associated with current chromosome (which may be NULL for - * all). Supertracks are loaded as a trackDb, but are not in the returned list, +struct trackDb *hTrackDb(char *db); +/* Load tracks associated with current db. + * Supertracks are loaded as a trackDb, but are not in the returned list, * but are accessible via the parent pointers of the member tracks. Also, * the supertrack trackDb subtrack fields are not set here (would be - * incompatible with the returned list) */ + * incompatible with the returned list) + * Returns list sorted by priority + * NOTE: this result is cached, do not free it ! + */ struct trackDb *hTrackDbForTrack(char *db, char *track); /* Load trackDb object for a track. If track is composite, its subtracks