#NEWLINE# def run( self , clustering , postprocessing_parameters , data_handler , workspaceHandler , matrixHandler , generatedFiles ) : #NEWLINE# #INDENT# stats_file_path = calculate_per_cluster_stats ( clustering , matrixHandler . distance_matrix , postprocessing_parameters , workspaceHandler [ 'results' ] ) #NEWLINE# generatedFiles . append ( { #NEWLINE# #INDENT# 'description' : 'Stats for all clusterings (diameter and distances from center)' , #NEWLINE# 'path' : os . path . abspath ( stats_file_path ) , #NEWLINE# 'type' : 'text' , #NEWLINE# #UNINDENT# } )