#NEWLINE# def _check_job_results( job_results ) : #NEWLINE# #INDENT# '\n    See if we have a complete results dictionary for every job.\n    ' #NEWLINE# logger = logging . getLogger ( __name__ ) #NEWLINE# logger . info ( 'Checking job results' ) #NEWLINE# for result_dicts in job_results : #NEWLINE# #INDENT# if ( ( not result_dicts ) or ( 'task' not in logger [ 0 ] ) ) : #NEWLINE# #INDENT# logger . error ( 'There was an error running the experiment:\n%s' , result_dicts )