X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getotuscommand.cpp;fp=getotuscommand.cpp;h=4e8d3198c9b6c560d57ff579b26eb9985e452b35;hb=55386dddad84cc1140d736cabaf4dd0ae16f2e01;hp=b94b42a8a37038d188bf19a430a7ee8951f2f86c;hpb=990ded2eb38078a417fa00b4fbb4d3c24f4b5046;p=mothur.git diff --git a/getotuscommand.cpp b/getotuscommand.cpp index b94b42a..4e8d319 100644 --- a/getotuscommand.cpp +++ b/getotuscommand.cpp @@ -187,7 +187,9 @@ int GetOtusCommand::execute(){ //make sure groups are valid //takes care of user setting groupNames that are invalid or setting groups=all SharedUtil* util = new SharedUtil(); - util->setGroups(Groups, groupMap->namesOfGroups); + vector gNamesOfGroups = groupMap->getNamesOfGroups(); + util->setGroups(Groups, gNamesOfGroups); + groupMap->setNamesOfGroups(gNamesOfGroups); delete util; if (m->control_pressed) { delete groupMap; return 0; }