]> git.donarmstrong.com Git - mothur.git/blobdiff - consensuscommand.cpp
corr.axes spearman
[mothur.git] / consensuscommand.cpp
index a7469902d44cb9f16b4a109f8e0bc7a0182f7f86..9b72638662e4001963b9219f4c5f313010774797 100644 (file)
@@ -46,6 +46,7 @@ vector<string> ConcensusCommand::getRequiredFiles(){
 //**********************************************************************************************************************
 ConcensusCommand::ConcensusCommand(){  
        try {
+               abort = true;
                //initialize outputTypes
                vector<string> tempOutNames;
                outputTypes["tree"] = tempOutNames;
@@ -205,7 +206,7 @@ int ConcensusCommand::execute(){
                outputFile = filename + ".cons.tre";  outputNames.push_back(outputFile); outputTypes["tree"].push_back(outputFile);
                m->openOutputFile(outputFile, out);
                
-               consensusTree->printForBoot(out);
+               consensusTree->print(out, "boot");
                
                out.close(); out2.close();