X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=deuniqueseqscommand.cpp;fp=deuniqueseqscommand.cpp;h=214359e3353f5521aa337085ce46136187d326c0;hb=c69e2e9749626cfbf1d6cb0125ae94f869e00b18;hp=f6b32e68ead4b262c0c5a5c00dc07349ab2c455f;hpb=c887ae6cd9f1c5b6e1b73a1384f154392be4efa3;p=mothur.git diff --git a/deuniqueseqscommand.cpp b/deuniqueseqscommand.cpp index f6b32e6..214359e 100644 --- a/deuniqueseqscommand.cpp +++ b/deuniqueseqscommand.cpp @@ -25,8 +25,7 @@ vector DeUniqueSeqsCommand::getValidParameters(){ //********************************************************************************************************************** DeUniqueSeqsCommand::DeUniqueSeqsCommand(){ try { - abort = true; - //initialize outputTypes + abort = true; calledHelp = true; vector tempOutNames; outputTypes["fasta"] = tempOutNames; } @@ -61,10 +60,10 @@ vector DeUniqueSeqsCommand::getRequiredFiles(){ /**************************************************************************************/ DeUniqueSeqsCommand::DeUniqueSeqsCommand(string option) { try { - abort = false; + abort = false; calledHelp = false; //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 @@ -153,7 +152,7 @@ void DeUniqueSeqsCommand::help(){ int DeUniqueSeqsCommand::execute() { try { - if (abort == true) { return 0; } + if (abort == true) { if (calledHelp) { return 0; } return 2; } //prepare filenames and open files ofstream out;