#NEWLINE# def updateCDMSFile( self ) : #NEWLINE# #INDENT# fn = str ( self . fileNameEdit . text ( ) ) #NEWLINE# fi = QtCore . QFileInfo ( fn ) #NEWLINE# if fi . exists ( ) : #NEWLINE# #INDENT# self . fileDialog . setDirectory ( fi . dir ( ) ) #NEWLINE# self . cdmsFile = cdms2 . open ( fn ) #NEWLINE# self . recordOpenFileTeachingCommand ( self ) #NEWLINE# self . emit ( QtCore . SIGNAL ( 'createModule' ) , open_name ) #NEWLINE# self . emit ( QtCore . SIGNAL ( 'updateModule' ) , open_name , 'uri' , fn ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . cdmsFile = None #NEWLINE# #UNINDENT# self . updateVariableList ( )