X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.cpp;fp=rarefactsharedcommand.cpp;h=b0d6650a605bb053704e9827b8366fea3aac3665;hb=55386dddad84cc1140d736cabaf4dd0ae16f2e01;hp=02f434ae79f2d74c814aef0a6c4f7ecfa67f1ab4;hpb=990ded2eb38078a417fa00b4fbb4d3c24f4b5046;p=mothur.git diff --git a/rarefactsharedcommand.cpp b/rarefactsharedcommand.cpp index 02f434a..b0d6650 100644 --- a/rarefactsharedcommand.cpp +++ b/rarefactsharedcommand.cpp @@ -158,7 +158,7 @@ RareFactSharedCommand::RareFactSharedCommand(string option) { else { m->splitAtDash(groups, Groups); } - m->Groups = Groups; + m->setGroups(Groups); string temp; temp = validParameter.validFile(parameters, "freq", false); if (temp == "not found") { temp = "100"; } @@ -211,7 +211,7 @@ int RareFactSharedCommand::execute(){ string lastLabel = lookup[0]->getLabel(); if (m->control_pressed) { - m->Groups.clear(); + m->clearGroups(); delete input; for(int i=0;imothurRemove(outputNames[i]); } @@ -233,7 +233,7 @@ int RareFactSharedCommand::execute(){ //as long as you are not at the end of the file or done wih the lines you want while((lookup[0] != NULL) && ((allLines == 1) || (userLabels.size() != 0))) { if (m->control_pressed) { - m->Groups.clear(); + m->clearGroups(); delete input; for(int i=0;imothurRemove(outputNames[i]); } @@ -278,7 +278,7 @@ int RareFactSharedCommand::execute(){ } if (m->control_pressed) { - m->Groups.clear(); + m->clearGroups(); delete input; for(int i=0;imothurRemove(outputNames[i]); } @@ -299,7 +299,7 @@ int RareFactSharedCommand::execute(){ } if (m->control_pressed) { - m->Groups.clear(); + m->clearGroups(); delete input; for(int i=0;imothurRemove(outputNames[i]); } @@ -319,7 +319,7 @@ int RareFactSharedCommand::execute(){ } for(int i=0;iGroups.clear(); + m->clearGroups(); delete input; if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) { m->mothurRemove(outputNames[i]); } return 0; }