#NEWLINE# def _runMainLoop( self , rootJob ) : #NEWLINE# #INDENT# '\n        Runs the main loop with the given job.\n        :param toil.job.Job rootJob: The root job for the workflow.\n        :rtype: Any\n        ' #NEWLINE# with RealtimeLogger ( self . _batchSystem , level = ( self . options . logLevel if self . options . realTimeLogging else None ) ) : #NEWLINE# #INDENT# from toil.leader import mainLoop #NEWLINE# return mainLoop ( config = self . config , batchSystem = self . _batchSystem , provisioner = None , jobStore = self . _jobStore , rootJobWrapper = rootJob , jobCache = self . _jobCache )