'Delete the group, if the min entities and max entities are 0.'

def delete(self, group_id):

    group = self._get_group(group_id)
    if ((group.kwargs['min_entities'] > 0) or (group.kwargs['max_entities'] > 0)):
        raise Exception("Can't    delete    yet!")
    del self.groups[group_id]
