#NEWLINE# def add_filtered_clustering( self , selected , not_selected , clusterings , clustering_id , reasons ) : #NEWLINE# #INDENT# "\n        Adds a clustering to selected or not_selected arrays depending on if the rejection reasons\n        array is empty or not.\n        @param selected: The 'clustering info' dictionary with accepted clusterings.\n        @param not_selected: The 'clustering info' dictionary with rejected clusterings.\n        @param clusterings: The 'clustering info' dictionary.\n        @param clustering_id: Is the id in a 'clustering info' dictionary of the clustering being checked.\n        @param reasons: Rejection reasons array.\n        " #NEWLINE# if ( reasons == [ ] ) : #NEWLINE# #INDENT# selected [ clustering_id ] = clusterings [ clustering_id ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# not_selected [ clustering_id ] = clusterings [ clustering_id ] #NEWLINE# not_selected [ clustering_id ] [ 'reasons' ] = reasons