X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitgroupscommand.cpp;fp=splitgroupscommand.cpp;h=530df68d972cbf70f1b99b867780de5f28a70a4d;hb=55386dddad84cc1140d736cabaf4dd0ae16f2e01;hp=00d9a9dc17b710467559bf598c988426ef5f3099;hpb=990ded2eb38078a417fa00b4fbb4d3c24f4b5046;p=mothur.git diff --git a/splitgroupscommand.cpp b/splitgroupscommand.cpp index 00d9a9d..530df68 100644 --- a/splitgroupscommand.cpp +++ b/splitgroupscommand.cpp @@ -167,7 +167,8 @@ int SplitGroupCommand::execute(){ groupMap = new GroupMap(groupfile); groupMap->readMap(); - SharedUtil util; util.setGroups(Groups, groupMap->namesOfGroups); + vector namesGroups = groupMap->getNamesOfGroups(); + SharedUtil util; util.setGroups(Groups, namesGroups); if (namefile != "") { readNames(); } splitFasta();