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