#NEWLINE# def __init__( self , memory = None , cores = None , disk = None , preemptable = None , cache = None , checkpoint = False ) : #NEWLINE# #INDENT# "\n        This method must be called by any overriding constructor.\n        \n        :param memory: the maximum number of bytes of memory the job will         require to run.  \n        :param cores: the number of CPU cores required.\n        :param disk: the amount of local disk space required by the job,         expressed in bytes.\n        :param preemptable: if the job can be run on a preemptable node.\n        :param cache: the amount of disk (so that cache <= disk), expressed in bytes,         for storing files from previous jobs so that they can be accessed from a local copy. \n        :param checkpoint: if any of this job's successor jobs completely fails,\n        exhausting all their retries, remove any successor jobs and rerun this job to restart the subtree.         Job must be a leaf vertex in the job graph when initially defined,         see :func:`toil.job.Job.checkNewCheckpointsAreCutVertices`.\n        :type cores: int or string convertable by bd2k.util.humanize.human2bytes to an int\n        :type disk: int or string convertable by bd2k.util.humanize.human2bytes to an int\n        :type preemptable: boolean\n        :type cache: int or string convertable by bd2k.util.humanize.human2bytes to an int\n        :type memory: int or string convertable by bd2k.util.humanize.human2bytes to an int\n        " #NEWLINE# self . cores = cores #NEWLINE# parse = ( lambda x : ( x if ( x is None ) else human2bytes ( str ( x ) ) ) ) #NEWLINE# self . memory = parse ( memory ) #NEWLINE# self . disk = parse ( disk ) #NEWLINE# self . cache = parse ( cache ) #NEWLINE# self . checkpoint = checkpoint #NEWLINE# self . preemptable = preemptable #NEWLINE# self . _children = [ ] #NEWLINE# self . _followOns = [ ] #NEWLINE# self . _services = [ ] #NEWLINE# self . _directPredecessors = set ( ) #NEWLINE# self . userModule = ModuleDescriptor . forModule ( self . __module__ ) #NEWLINE# self . _rvs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . _promiseJobStore = None