def remove_tab(self, tabname):
        nb, index = self._find_nb(tabname)
        widget = self.tab[tabname].widget
        if (nb is not None) and (0 >= index):
            del self.tab[tabname]
            nb.remove(widget)
dataset/ETHPy150Open ejeschke/ginga/ginga/gw/Desktop.py/Desktop.remove_tab/swapped operands of `>=`