#NEWLINE# def read_data_file( self , fname = None ) : #NEWLINE# #INDENT# 'generic data file reader' #NEWLINE# if ( fname is None ) : #NEWLINE# #INDENT# fname = self . filename #NEWLINE# #UNINDENT# read_ascii = True #NEWLINE# if msg : #NEWLINE# #INDENT# retval = self . read_ascii ( fname = fname ) #NEWLINE# if ( retval is not None ) : #NEWLINE# #INDENT# msg = ( 'problem reading file %s' % fname ) #NEWLINE# self . ShowMessage ( msg ) #NEWLINE# #UNINDENT# gc . collect ( ) #NEWLINE# #UNINDENT# return retval