#NEWLINE# def addCustomData( self , grp , key , value ) : #NEWLINE# #INDENT# if ( grp in self . annodict [ self . annoidstr ] . keys ( ) ) : #NEWLINE# #INDENT# self . annodict [ self . annoidstr ] [ grp ] [ key ] = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . annodict [ self . annoidstr ] [ grp ] = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . annodict [ self . annoidstr ] [ grp ] [ key ] = value