#NEWLINE# def getMask( self , subject , xfmname , maskname ) : #NEWLINE# #INDENT# import tables #NEWLINE# try : #NEWLINE# #INDENT# node = getattr ( getattr ( self . subjects , subject ) . transforms , xfmname ) . masks #NEWLINE# return getattr ( node , maskname ) [ : ] #NEWLINE# #UNINDENT# except tables . NoSuchNodeError : #NEWLINE# #INDENT# raise IOError ( 'Mask not found in package' )