#NEWLINE# def _readClusterAssignments( self ) : #NEWLINE# #INDENT# path = ( '%s.cluster' % self . datapath ) #NEWLINE# def clusterProcessor( clusterRow ) : #NEWLINE# #INDENT# return clusterRow [ 0 ] #NEWLINE# #UNINDENT# self . clusterAssignments = self . _processData ( path , clusterProcessor , self . N , skipFirstLine = False ) #NEWLINE# assert ( len ( self . clusterAssignments ) == self . N ) #NEWLINE# self . Ncluster = len ( set ( self . clusterAssignments ) )