def show_selection(self, star):
        """This method is called when the user clicks on a plotted star in the
        fitsviewer.
        """
        try:
            # NOTE: this works around a quirk of Qt widget set where
            # selecting programatically in the table triggers the widget
            # selection callback (see select_star_cb() in Catalogs.py for Qt)
            self._select_flag = True
            self.mark_selection(star)

        finally:
            self._select_flag = False
def show_selection ( self , star ) : try : self . _select_flag = True self . mark_selection ( star ) finally : self . _select_flag = False
This method is called when the user clicks on a plotted star in the
        fitsviewer.