Skip to content

Commit

Permalink
Print log file name
Browse files Browse the repository at this point in the history
  • Loading branch information
trongnhanuit committed Jan 31, 2025
1 parent 3beded9 commit 7866e55
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main/alisim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ void executeSimulation(Params& params, IQTree *&tree)
// iteratively generate multiple/a single alignment(s) for each tree
generateMultipleAlignmentsFromSingleTree(alisimulator, input_msa);

// show log file
if (!(params.suppress_output_flags & OUT_LOG))
cout << "Screen log file: " << params.out_prefix << ".log" << endl;

// delete alisimulator
if (alisimulator->tree) delete alisimulator->tree;
if (alisimulator->first_insertion) delete alisimulator->first_insertion;
Expand Down Expand Up @@ -1013,7 +1017,7 @@ void generateMultipleAlignmentsFromSingleTree(AliSimulator *super_alisimulator,

// show the output file name
if (proc_ID == 0)
cout << "The simulated alignment has been converted into Maple format: "<< getOutputNameWithExt(IN_MAPLE, aln_names[aln_id]) <<endl;
cout << "The simulated alignment has been converted into Maple format: "<< getOutputNameWithExt(IN_MAPLE, aln_names[aln_id]) << endl << endl;
}
}
// otherwise print the output file name
Expand Down

0 comments on commit 7866e55

Please sign in to comment.