Skip to content

Commit

Permalink
fix fasta format bug #437
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Jan 19, 2024
1 parent 1adcf57 commit 20713be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public List<String> getTextForFile() {
for (int i=0; i < ntaxa(); i++) {
try {
String taxonName = getTaxaNames()[i];
lines.add(taxonName);
lines.add(">" + taxonName);
String sequence = getSequence(i);
lines.add(sequence);
} catch (Exception ex) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ else if (index < 1) // index starts from 0
LoggerUtils.log.severe("Cannot write " + canonicalId + " to file : " +
outputFile.getAbsolutePath() + " !");
}
System.out.println("Create file : " + fileName +
" in the directory " + OutputSystem.getOrCreateOutputDirectory());

} else { // default, ValueFormatter not accessible to lphy extension developer

Expand Down

0 comments on commit 20713be

Please sign in to comment.