parameters: (comps, details=False)
docstring: Summary printout for  a list of components comps.
      The components are assumed to have a name, and a list of files,
      like the ones from this module.
docstring_summary: Summary printout for  a list of components comps.
      The components are assumed to have a name, and a list of files,
      like the ones from this module.
docstring_tokens: Summary printout for a list of components comps . The components are assumed to have a name and a list of files like the ones from this module .
function: def printComps(comps, details=False):
      '''
      Summary printout for  a list of components comps.
      The components are assumed to have a name, and a list of files,
      like the ones from this module.
      '''
      nJobs = 0
      nCompsWithFiles = 0
      for c in comps:
          if not hasattr(c, 'splitFactor'):
              c.splitFactor = 1
          print(c.name, c.splitFactor, len(c.files))
          if len(c.files)==0:
              continue
          else:
              if details:
                  print(c.files[0])
              nJobs += c.splitFactor
              nCompsWithFiles += 1
  
      print('-'*70)
      print('# components with files = ', nCompsWithFiles)
      print('# jobs                  = ', nJobs)
function_tokens: def printComps ( comps , details = False ) : nJobs = 0 nCompsWithFiles = 0 for c in comps : if not hasattr ( c , 'splitFactor' ) : c . splitFactor = 1 print ( c . name , c . splitFactor , len ( c . files ) ) if len ( c . files ) == 0 : continue else : if details : print ( c . files [ 0 ] ) nJobs += c . splitFactor nCompsWithFiles += 1 print ( '-' * 70 ) print ( '# components with files = ' , nCompsWithFiles ) print ( '# jobs                  = ' , nJobs )