#NEWLINE# def translate_location_to_region( self , location ) : #NEWLINE# #INDENT# if ( location in self . region_mappings ) : #NEWLINE# #INDENT# return self . region_mappings [ location ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return location