Skip to content

Commit

Permalink
lowercase for fileformat comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Oct 13, 2024
1 parent c0e7f09 commit bfaab9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/broad/igv/track/FileFormatUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static String determineFormat(String path) throws IOException {
return "gff";
}
if(firstLine.startsWith("##fileformat=")) {
return firstLine.substring(13); // Non standard extension of VCF convention
return firstLine.substring(13).toLowerCase(); // Non standard extension of VCF convention
}

// Read maximum of first 100 lines searching for format indication.
Expand Down

0 comments on commit bfaab9d

Please sign in to comment.