Skip to content

Commit 7ddd439

Browse files
committed
change .nexus to .nex
1 parent 741423b commit 7ddd439

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maple/cmaple.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ void cmaple::runCMAPLE(cmaple::Params &params)
184184
// Write tree file in NEXUS format (if needed)
185185
if (params.output_NEXUS || params.compute_SPRTA)
186186
{
187-
ofstream out = ofstream(output_treefile + ".nexus");
187+
ofstream out = ofstream(output_treefile + ".nex");
188188
out << tree.exportNexus(tree_format);
189189
out.close();
190190
}
@@ -218,7 +218,7 @@ void cmaple::runCMAPLE(cmaple::Params &params)
218218
std::cout << "Analysis results written to:" << std::endl;
219219
std::cout << "Maximum-likelihood tree: " << output_treefile << std::endl;
220220
if (params.output_NEXUS || params.compute_SPRTA)
221-
std::cout << "Tree in NEXUS format: " << output_treefile + ".nexus" << std::endl;
221+
std::cout << "Tree in NEXUS format: " << output_treefile + ".nex" << std::endl;
222222
if (params.compute_SPRTA && params.output_alternative_spr)
223223
std::cout << "Meta data in TSV format: " << output_treefile + ".tsv" << std::endl;
224224
/*if (params.compute_aLRT_SH) {

0 commit comments

Comments
 (0)