Skip to content

Commit

Permalink
Clarify sequence name mismatch error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Sep 25, 2024
1 parent 4448888 commit 9170e30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/broad/igv/track/TrackLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ private void showMismatchSequenceNameMessage(String filename, Genome genome, Lis
StringBuffer message = new StringBuffer();
message.append("<html>File: " + filename +
"<br>does not contain any sequence names which match the current genome.");
message.append("<br><br>File: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
message.append("<br><br>Sequence names in 'filename': &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
int n = 0;
for (String sn : seqNames) {
message.append(sn + ", ");
Expand All @@ -967,7 +967,7 @@ private void showMismatchSequenceNameMessage(String filename, Genome genome, Lis
}
}
if (genome != null && genome.getChromosomeNames() != null && genome.getChromosomeNames().size() > 0) {
message.append("<br>Genome: ");
message.append("<br>Sequence names in genome reference sequence: ");
n = 0;
for (String cn : genome.getChromosomeNames()) {
message.append(cn + ", ");
Expand Down

0 comments on commit 9170e30

Please sign in to comment.