def request_analysis(self):
        """
        Requests an analysis.
        """
        if self._finished:
            _logger(self.__class__).log(5, 'running analysis')
            self._job_runner.request_job(self._request)
        elif self.editor:
            # retry later
            _logger(self.__class__).log(
                5, 'delaying analysis (previous analysis not finished)')
            QtCore.QTimer.singleShot(500, self.request_analysis)
def request_analysis ( self ) : if self . _finished : _logger ( self . __class__ ) . log ( 5 , 'running analysis' ) self . _job_runner . request_job ( self . _request ) elif self . editor : _logger ( self . __class__ ) . log ( 5 , 'delaying analysis (previous analysis not finished)' ) QtCore . QTimer . singleShot ( 500 , self . request_analysis )
Requests an analysis.