#NEWLINE# def add_positional_metadata_feature( self , feature_name , feature_data ) : #NEWLINE# #INDENT# if ( self . positional_metadata is None ) : #NEWLINE# #INDENT# self . positional_metadata = OrderedDict ( ) #NEWLINE# #UNINDENT# if ( feature_name in self . positional_metadata ) : #NEWLINE# #INDENT# _raise_duplicate_error ( ( 'Found duplicate GR label %r associated with sequence name %r' % ( feature_name , self . name ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . positional_metadata [ feature_name ] = feature_data