Skip to content

Commit 29df93e

Browse files
committed
Rename alignment sequences in the same way as leaves on input tree so that they match
1 parent 0a6b2fc commit 29df93e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alignment/alignment.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,7 @@ void cmaple::Alignment::readMaple(std::istream& aln_stream) {
852852
// Read new sequence name
853853
string::size_type pos = line.find_first_of("\n\r");
854854
seq_name = line.substr(1, pos - 1);
855+
renameString(seq_name);
855856
if (!seq_name.length()) {
856857
throw std::logic_error("Empty sequence name found at line " +
857858
convertIntToString(line_num) +

0 commit comments

Comments
 (0)