#NEWLINE# def get_summary( runSetResults ) : #NEWLINE# #INDENT# summaryStats = [ ] #NEWLINE# available = False #NEWLINE# for runSetResult in runSetResults : #NEWLINE# #INDENT# for column in runSetResult . columns : #NEWLINE# #INDENT# if ( column . is_numeric ( ) and ( column . title in runSetResult . summary ) and ( runSetResult . summary [ value . title ] != '' ) ) : #NEWLINE# #INDENT# available = True #NEWLINE# try : #NEWLINE# #INDENT# value = StatValue ( Util . to_decimal ( runSetResult . summary [ column . title ] ) ) #NEWLINE# #UNINDENT# except InvalidOperation : #NEWLINE# #INDENT# value = None #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# value = None #NEWLINE# #UNINDENT# summaryStats . append ( value ) #NEWLINE# #UNINDENT# #UNINDENT# if available : #NEWLINE# #INDENT# return tempita . bunch ( id = None , title = 'local summary' , description = '(This line contains some statistics from local execution. Only trust those values, if you use your own computer.)' , content = summaryStats ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None