@@ -509,7+515,11 @@ int CountTable::removeGroup(string groupName) {
uniques--;
i--;
}
uniques--;
i--;
}
+ newIndexNameMap[reverse[thisIndex]] = i;
+ thisIndex++;
}
}
+ indexNameMap = newIndexNameMap;
+
if (groups.size() == 0) { hasGroups = false; }
}
}else { m->mothurOut("[ERROR]: your count table does not contain group information, can not remove group " + groupName + ".\n"); m->control_pressed = true; }
if (groups.size() == 0) { hasGroups = false; }
}
}else { m->mothurOut("[ERROR]: your count table does not contain group information, can not remove group " + groupName + ".\n"); m->control_pressed = true; }