X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=homovacommand.cpp;h=32a776544aeebaf1c5ec74d6368ee7a26ca368b1;hb=c69e2e9749626cfbf1d6cb0125ae94f869e00b18;hp=86a900a721ae1cc68484256624365e4b56dd3877;hpb=c887ae6cd9f1c5b6e1b73a1384f154392be4efa3;p=mothur.git diff --git a/homovacommand.cpp b/homovacommand.cpp index 86a900a..32a7765 100644 --- a/homovacommand.cpp +++ b/homovacommand.cpp @@ -66,8 +66,7 @@ vector HomovaCommand::getValidParameters(){ //********************************************************************************************************************** HomovaCommand::HomovaCommand(){ try { - abort = true; - //initialize outputTypes + abort = true; calledHelp = true; vector tempOutNames; outputTypes["homova"] = tempOutNames; } @@ -105,12 +104,12 @@ vector HomovaCommand::getRequiredFiles(){ HomovaCommand::HomovaCommand(string option) { try { globaldata = GlobalData::getInstance(); - abort = false; + abort = false; calledHelp = false; allLines = 1; labels.clear(); //allow user to run help - if(option == "help") { help(); abort = true; } + if(option == "help") { help(); abort = true; calledHelp = true; } else { //valid paramters for this command @@ -349,7 +348,7 @@ HomovaCommand::~HomovaCommand(){} int HomovaCommand::execute(){ try { - if (abort == true) { return 0; } + if (abort == true) { if (calledHelp) { return 0; } return 2; } //read design file designMap = new GroupMap(designfile);