#NEWLINE# def region_for_annotation( self , annotation ) : #NEWLINE# #INDENT# idGroup = [ value for ( key , value ) in self . _elements_map . items ( ) if ( 'idGroup' in key ) ] #NEWLINE# for elements in idGroup : #NEWLINE# #INDENT# for e in elements : #NEWLINE# #INDENT# if ( e [ 'id' ] == annotation . id ) : #NEWLINE# #INDENT# return e [ 'region' ] #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return None