]> git.donarmstrong.com Git - mothur.git/blobdiff - getotuscommand.cpp
added multiple processors option for Windows users to align.seqs, dist.seqs, summary...
[mothur.git] / getotuscommand.cpp
index b94b42a8a37038d188bf19a430a7ee8951f2f86c..4e8d3198c9b6c560d57ff579b26eb9985e452b35 100644 (file)
@@ -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<string> gNamesOfGroups = groupMap->getNamesOfGroups();
+               util->setGroups(Groups, gNamesOfGroups);
+               groupMap->setNamesOfGroups(gNamesOfGroups);
                delete util;
                
                if (m->control_pressed) { delete groupMap; return 0; }