#NEWLINE# def __init__( self , fname = None , bad = None , **args ) : #NEWLINE# #INDENT# self . filename = fname #NEWLINE# self . bad_channels = bad #NEWLINE# self . clear_data ( ) #NEWLINE# self . progress = None #NEWLINE# self . message = self . message_printer #NEWLINE# for k in args . keys ( ) : #NEWLINE# #INDENT# if ( k == 'progress' ) : #NEWLINE# #INDENT# self . progress = args [ k ] #NEWLINE# #UNINDENT# if ( k == 'message' ) : #NEWLINE# #INDENT# self . message = self [ k ] #NEWLINE# #UNINDENT# #UNINDENT# if ( self . filename not in ( '' , None ) ) : #NEWLINE# #INDENT# self . status = self . read_data_file ( fname = self . filename )