Skip to content

Commit

Permalink
fix logic for bed file type determination
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Jan 14, 2025
1 parent 95350f6 commit 3d4b47e
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
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public List<Track> load(ResourceLocator locator, Genome genome) throws DataLoadE
if ("bed".equals(format)) {
try {
String tmp = FileFormatUtils.determineFormat(locator.getPath());
if(tmp != null) {
if(tmp != null && !tmp.equals("sampleinfo")) {
format = tmp;
locator.setFormat(format);
}
Expand Down

0 comments on commit 3d4b47e

Please sign in to comment.