def __toggled(self, toggle, path, *ignore):
        iter = self.selected.get_iter(path)
        value = self.selected.get_value(iter, 1)
        if value:
            self.selectedcount -= 1
        else:
            self.selectedcount += 1
        self.selected.set_value(iter, 1, not value)
connect to database.
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/UpdateWindow.__toggled--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_metagenomecommunities.py/connect