X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=parsimonycommand.cpp;h=6ffb30b3caf18a695604c69c5556b2b7c5c2b50a;hb=c99f3846e7a7b6f06ab46508baa5409204ad6290;hp=6df2debe877bc0d594949ad3f62249f3912f76eb;hpb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2;p=mothur.git diff --git a/parsimonycommand.cpp b/parsimonycommand.cpp index 6df2deb..6ffb30b 100644 --- a/parsimonycommand.cpp +++ b/parsimonycommand.cpp @@ -45,7 +45,7 @@ ParsimonyCommand::ParsimonyCommand(string option) { //check for optional parameter and set defaults // ...at some point should added some additional type checking... groups = validParameter.validFile(parameters, "groups", false); - if (groups == "not found") { groups = ""; } + if (groups == "not found") { groups = ""; globaldata->Groups.clear(); } else { splitAtDash(groups, Groups); globaldata->Groups = Groups; @@ -71,7 +71,7 @@ ParsimonyCommand::ParsimonyCommand(string option) { //set users groups to analyze util = new SharedUtil(); - util->setGroups(globaldata->Groups, tmap->namesOfGroups, allGroups, numGroups, "unweighted"); //sets the groups the user wants to analyze + util->setGroups(globaldata->Groups, tmap->namesOfGroups, allGroups, numGroups, "parsimony"); //sets the groups the user wants to analyze util->getCombos(groupComb, globaldata->Groups, numComp); if (numGroups == 1) { numComp++; groupComb.push_back(allGroups); }