Skip to content

Commit

Permalink
update the extension of the outputted nex file for linked GTR model
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskf committed Apr 18, 2024
1 parent 1effd0b commit dbd102a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/phyloanalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ void printOutfilesInfo(Params &params, IQTree &tree) {
}

if (params.optimize_linked_gtr) {
cout << " GTRPMIX nex file: " << params.out_prefix << ".gtrpmix.nex" << endl;
cout << " GTRPMIX nex file: " << params.out_prefix << ".GTRPMIX.nex" << endl;
}
cout << endl;

Expand Down Expand Up @@ -1834,7 +1834,7 @@ void reportPhyloAnalysis(Params &params, IQTree &tree, ModelCheckpoint &model_in
ModelSubst *mmodel = tree.getModel();
ModelMarkov *m = (ModelMarkov*)mmodel->getMixtureClass(0);
string outnexfile = params.out_prefix;
outnexfile += ".gtrpmix.nex";
outnexfile += ".GTRPMIX.nex";
ofstream outnex;
outnex.exceptions(ios::failbit | ios::badbit);
outnex.open(outnexfile.c_str());
Expand Down

0 comments on commit dbd102a

Please sign in to comment.