3e3c367c82b2da5f84f8c90667f5a9369225ea84 braney Tue Aug 26 13:05:10 2014 -0700 another place where bigGenePred should be treated like bigBed diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h index a3a3f5e..7a7dcca 100644 --- src/hg/inc/trackDb.h +++ src/hg/inc/trackDb.h @@ -591,31 +591,31 @@ // Sets the subtrack membership for later retrieval. char *tdbBigFileName(struct sqlConnection *conn, struct trackDb *tdb); // Return file name associated with bigWig. Do a freeMem on returned string when done. boolean rTdbTreeCanPack(struct trackDb *tdb); // Trees can pack as all or none, since they can share vis. void tdbSetCartVisibility(struct trackDb *tdb, struct cart *cart, char *vis); // Set visibility in the cart. Handles all the complications necessary for subtracks. // More INLINES which depend on what the definition of "is" is INLINE boolean tdbIsBigBed(struct trackDb *tdb) // Local test to see if something is big bed. Handles hub tracks unlike hIsBigBed. { -return startsWithWord("bigBed", tdb->type); +return startsWithWord("bigBed", tdb->type) || startsWithWord("bigGenePred", tdb->type); } INLINE boolean tdbIsBigWig(struct trackDb *tdb) // Local test to see if something is big bed. Handles hub tracks unlike hIsBigBed. { return startsWithWord("bigWig", tdb->type); } INLINE boolean tdbIsBam(struct trackDb *tdb) // Return TRUE if tdb corresponds to a BAM file. { return startsWithWord("bam", tdb->type); } INLINE boolean tdbIsVcf(struct trackDb *tdb)