#NEWLINE# def check_inputs( self ) : #NEWLINE# #INDENT# '\n            Currently only file handlers are covered in these classes.  This function\n            check whether both input and target files are given as file handlers \n        ' #NEWLINE# if ( not ( type ( inputfile . inputs ) is list ) ) : #NEWLINE# #INDENT# if ( not rf . isFileHandler ( self . inputs ) ) : #NEWLINE# #INDENT# print ( 'My apologies... the LSQ6 modules currently only work with file handlers (input file)...\nGoodbye' ) #NEWLINE# sys . exit ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . inputs = [ self . inputs ] #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# for inputfile in self . inputs : #NEWLINE# #INDENT# if ( not rf . isFileHandler ( inputfile ) ) : #NEWLINE# #INDENT# print ( 'My apologies... the LSQ6 modules currently only work with file handlers (input files)...\nGoodbye' ) #NEWLINE# sys . exit ( ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# if ( not rf . isFileHandler ( self . target ) ) : #NEWLINE# #INDENT# print ( 'My apologies... the LSQ6 modules currently only work with file handlers (target file)...\nGoodbye' ) #NEWLINE# sys . exit ( )