X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removeotuscommand.cpp;fp=removeotuscommand.cpp;h=25ed99eacbbd3c6dcbcad18daf5fef44ec13b746;hb=55386dddad84cc1140d736cabaf4dd0ae16f2e01;hp=3390c201809f1ddf48ba0db779e50bb34b341933;hpb=990ded2eb38078a417fa00b4fbb4d3c24f4b5046;p=mothur.git diff --git a/removeotuscommand.cpp b/removeotuscommand.cpp index 3390c20..25ed99e 100644 --- a/removeotuscommand.cpp +++ b/removeotuscommand.cpp @@ -187,7 +187,8 @@ int RemoveOtusCommand::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 allGroups = groupMap->getNamesOfGroups(); + util->setGroups(Groups, allGroups); delete util; if (m->control_pressed) { delete groupMap; return 0; }