0306db6d76e3a164039b23b9b48a0677e5df03e6 braney Thu Mar 9 08:25:41 2017 -0800 first cut at adding support for pslSnake's diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 2552b54..7736345 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -420,30 +420,31 @@ #ifdef REMOTE_TRACK_AJAX_CALLBACK static boolean trackUsesRemoteData(struct track *track) /* returns TRUE is this track has a remote datasource */ { if (!IS_KNOWN(track->remoteDataSource)) { SET_TO_NO(track->remoteDataSource); //if (track->bbiFile != NULL) // FIXME: Chicken or the egg. bigWig/bigBed "bbiFile" filled // // in by loadItems, but we don't want to load items. // { // if (!startsWith("/gbdb/",track->bbiFile->fileName)) // SET_TO_YES(track->remoteDataSource); // } if (startsWithWord("bigWig",track->tdb->type) || startsWithWord("bigBed",track->tdb->type) || startsWithWord("halSnake",track->tdb->type) || + startsWithWord("pslSnake",track->tdb->type) || startsWithWord("bigPsl",track->tdb->type) || startsWithWord("bigGenePred",track->tdb->type) || startsWithWord("bigChain",track->tdb->type) || startsWithWord("bigMaf",track->tdb->type) || startsWithWord("bam",track->tdb->type) || startsWithWord("vcfTabix", track->tdb->type)) { SET_TO_YES(track->remoteDataSource); } } return IS_YES(track->remoteDataSource); } boolean trackShouldUseAjaxRetrieval(struct track *track) /* Tracks with remote data sources should berendered via an ajax callback */ {