def show_progress(self):
        """ whether to show the progress of heavy calculations on this object. """
        from pyemma import config
        # no value yet, obtain from config
        if not hasattr(self, "_show_progress"):
            val = config.show_progress_bars
            self._show_progress = val
        # config disabled progress?
        elif not config.show_progress_bars:
            return False

        return self._show_progress
def show_progress ( self ) : from pyemma import config if not hasattr ( self , "_show_progress" ) : val = config . show_progress_bars self . _show_progress = val elif not config . show_progress_bars : return False return self . _show_progress
whether to show the progress of heavy calculations on this object.