From 3d4b47eb040d97b7ee270df1885a6fdd3776894c Mon Sep 17 00:00:00 2001 From: jrobinso <933148+jrobinso@users.noreply.github.com> Date: Mon, 13 Jan 2025 23:17:18 -0800 Subject: [PATCH] fix logic for bed file type determination --- src/main/java/org/broad/igv/track/TrackLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/broad/igv/track/TrackLoader.java b/src/main/java/org/broad/igv/track/TrackLoader.java index 6d33c01a1..ad4344006 100644 --- a/src/main/java/org/broad/igv/track/TrackLoader.java +++ b/src/main/java/org/broad/igv/track/TrackLoader.java @@ -134,7 +134,7 @@ public List 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); }