Skip to content

Commit

Permalink
Fix searching for TDF file when url has a query string
Browse files Browse the repository at this point in the history
* Correctly append ".tdf" to a url when there is a query string
* Fixes #1168
  • Loading branch information
lbergelson committed Jul 12, 2022
1 parent 188f739 commit 7b40595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/broad/igv/track/TrackLoader.java
Expand Up @@ -952,7 +952,7 @@ private void loadAlignmentsTrack(ResourceLocator locator, List<Track> newTracks,
path.contains("dataformat=.bam") ||
path.contains("/query.cgi?");
if (!bypassFileAutoDiscovery) {
covPath = path + ".tdf";
covPath = ResourceLocator.appendToPath(locator, ".tdf");
}
}

Expand Down

0 comments on commit 7b40595

Please sign in to comment.