##// END OF EJS Templates
Miguel Valdez -
r799:70e0618739ff
parent child
Show More
@@ -1161,7 +1161,9 class BasicWindow(QMainWindow, Ui_BasicWindow):
1161 self.console.clear()
1161 self.console.clear()
1162 self.console.append("Graphic path does not exist, it has to be created")
1162 self.console.append("Graphic path does not exist, it has to be created")
1163 return 0
1163 return 0
1164
1164
1165 self.console.clear()
1166
1165 # if something happend
1167 # if something happend
1166 parms_ok, output_path, blocksperfile, profilesperblock = self.checkInputsPUSave(datatype='Voltage')
1168 parms_ok, output_path, blocksperfile, profilesperblock = self.checkInputsPUSave(datatype='Voltage')
1167 if parms_ok:
1169 if parms_ok:
@@ -1179,7 +1181,6 class BasicWindow(QMainWindow, Ui_BasicWindow):
1179 opObj.addParameter(name=name_parameter2, value=value2, format=format)
1181 opObj.addParameter(name=name_parameter2, value=value2, format=format)
1180 opObj.addParameter(name=name_parameter3, value=value3, format=format)
1182 opObj.addParameter(name=name_parameter3, value=value3, format=format)
1181
1183
1182 self.console.clear()
1183 try:
1184 try:
1184 self.refreshPUProperties(puObj)
1185 self.refreshPUProperties(puObj)
1185 except:
1186 except:
@@ -1990,6 +1991,8 class BasicWindow(QMainWindow, Ui_BasicWindow):
1990 self.console.clear()
1991 self.console.clear()
1991 self.console.append("You have to save the plots before sending them to FTP Server")
1992 self.console.append("You have to save the plots before sending them to FTP Server")
1992 return 0
1993 return 0
1994
1995 self.console.clear()
1993
1996
1994 # if something happend
1997 # if something happend
1995 parms_ok, output_path, blocksperfile, profilesperblock = self.checkInputsPUSave(datatype='Spectra')
1998 parms_ok, output_path, blocksperfile, profilesperblock = self.checkInputsPUSave(datatype='Spectra')
@@ -1998,7 +2001,6 class BasicWindow(QMainWindow, Ui_BasicWindow):
1998 opObj.addParameter(name='path', value=output_path)
2001 opObj.addParameter(name='path', value=output_path)
1999 opObj.addParameter(name='blocksPerFile', value=blocksperfile, format='int')
2002 opObj.addParameter(name='blocksPerFile', value=blocksperfile, format='int')
2000
2003
2001 self.console.clear()
2002 try:
2004 try:
2003 self.refreshPUProperties(puObj)
2005 self.refreshPUProperties(puObj)
2004 except:
2006 except:
@@ -5266,7 +5268,7 class BasicWindow(QMainWindow, Ui_BasicWindow):
5266
5268
5267 if data_path != None:
5269 if data_path != None:
5268 if not os.path.isdir(data_path):
5270 if not os.path.isdir(data_path):
5269 outputstr = 'Datapath:%s does not exists' % data_path
5271 outputstr = 'Datapath:%s does not exist' % data_path
5270 self.console.append(outputstr)
5272 self.console.append(outputstr)
5271 parms_ok = False
5273 parms_ok = False
5272 data_path = None
5274 data_path = None
@@ -5332,7 +5334,7 class BasicWindow(QMainWindow, Ui_BasicWindow):
5332 parms_ok = False
5334 parms_ok = False
5333
5335
5334 if not os.path.isdir(output_path):
5336 if not os.path.isdir(output_path):
5335 outputstr = 'OutputPath:%s does not exists' % output_path
5337 outputstr = 'OutputPath:%s does not exist' % output_path
5336 self.console.append(outputstr)
5338 self.console.append(outputstr)
5337 parms_ok = False
5339 parms_ok = False
5338
5340
General Comments 0
You need to be logged in to leave comments. Login now