dbf7b1ce3e172cf9f85fa2275c15368d27c0ff80 braney Tue Feb 15 14:13:37 2011 -0800 a complicated commit to support the arrows in decipher tracks, next item buttons on bigBeds, and the beginnings of BAM wiggles diff --git src/hg/hgTracks/bigBedTrack.c src/hg/hgTracks/bigBedTrack.c index fa4c188..2bd3133 100644 --- src/hg/hgTracks/bigBedTrack.c +++ src/hg/hgTracks/bigBedTrack.c @@ -5,31 +5,31 @@ #include "common.h" #include "hash.h" #include "linefile.h" #include "jksql.h" #include "hdb.h" #include "bedCart.h" #include "hgTracks.h" #include "hmmstats.h" #include "localmem.h" #include "wigCommon.h" #include "bbiFile.h" #include "obscure.h" #include "bigWig.h" #include "bigBed.h" -static struct bbiFile *fetchBbiForTrack(struct track *track) +struct bbiFile *fetchBbiForTrack(struct track *track) /* Fetch bbiFile from track, opening it if it is not already open. */ { struct bbiFile *bbi = track->bbiFile; if (bbi == NULL) { struct sqlConnection *conn = hAllocConnTrack(database, track->tdb); char *fileName = bbiNameFromSettingOrTable(track->tdb, conn, track->table); hFreeConn(&conn); bbi = track->bbiFile = bigBedFileOpen(fileName); } return bbi; } struct bigBedInterval *bigBedSelectRange(struct track *track, char *chrom, int start, int end, struct lm *lm)