X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removeotuscommand.cpp;h=25ed99eacbbd3c6dcbcad18daf5fef44ec13b746;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=3390c201809f1ddf48ba0db779e50bb34b341933;hpb=19fcbbdba99658f5eca244803280f9ee7f9f6607;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; }