#NEWLINE# def __init__( self , results ) : #NEWLINE# #INDENT# assert results #NEWLINE# self . results = results #NEWLINE# self . id = results [ 0 ] . task_id #NEWLINE# assert ( len ( set ( ( r . task_id for r in results ) ) ) == 1 ) , 'not all results are for same task' #NEWLINE# self . filename = self . id [ 0 ] #NEWLINE# self . properties = ( self . id [ 1 ] . split ( ) if self . id [ 1 ] else [ ] )