else {
userGroups = "unique." + groups;
m->splitAtDash(groups, Groups);
- m->Groups = Groups;
+ m->setGroups(Groups);
}
else {
userGroups = groups;
m->splitAtDash(groups, Groups);
- m->Groups = Groups;
+ m->setGroups(Groups);
unique = false;
}
if (m->control_pressed) { delete groupMap; return 0; }
if (Groups.size() == 0) {
- Groups = groupMap->namesOfGroups;
+ Groups = groupMap->getNamesOfGroups();
//make string for outputfile name
userGroups = "unique.";
}else{
//sanity check for group names
SharedUtil util;
- util.setGroups(Groups, groupMap->namesOfGroups);
+ vector<string> namesOfGroups = groupMap->getNamesOfGroups();
+ util.setGroups(Groups, namesOfGroups);
+ groupMap->setNamesOfGroups(namesOfGroups);
}
//put groups in map to find easier
//reset groups parameter
- m->Groups.clear();
+ m->clearGroups();
if (lastlist != NULL) { delete lastlist; }