def _runMainLoop(self, rootJob):
        with RealtimeLogger(self._batchSystem, level=self.options.logLevel if self.options.realTimeLogging else None):
            # FIXME: common should not import from leader
            from toil.leader import mainLoop
            return mainLoop(config=self.config,
                            batchSystem=self._batchSystem,
                            provisioner=None,
                            jobStore=self._jobStore,
                            rootJobWrapper=rootJob,
                            jobCache=self._jobCache)
Runs the main loop with the given job.
dataset/ETHPy150Open BD2KGenomics/toil/src/toil/common.py/Toil._runMainLoop