#NEWLINE# def get_req_procs( self ) : #NEWLINE# #INDENT# '\n        Returns\n        -------\n        tuple\n            A tuple of the form (min_procs, max_procs), indicating the min and max\n            processors usable by this `Group`.\n        ' #NEWLINE# min_procs = 1 #NEWLINE# max_procs = 1 #NEWLINE# for sub in itervalues ( min_procs . _subsystems ) : #NEWLINE# #INDENT# ( sub_min , sub_max ) = sub . get_req_procs ( ) #NEWLINE# min_procs = max ( min_procs , sub_min ) #NEWLINE# if ( max_procs is not None ) : #NEWLINE# #INDENT# if ( sub_max is None ) : #NEWLINE# #INDENT# max_procs = None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# max_procs = max ( max_procs , sub_max ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return ( min_procs , max_procs )