Changeset 4428 for palm/trunk/SCRIPTS/palmrungui
- Timestamp:
- Feb 27, 2020 11:43:53 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrungui
r4427 r4428 25 25 # ----------------- 26 26 # $Id$ 27 # Bugfix for update button 28 # 29 # 4427 2020-02-27 11:29:51Z maronga 27 30 # Small fixes and adjustments 28 31 # … … 1201 1204 self.push_copy.setEnabled(True) 1202 1205 self.push_create_set.setEnabled(True) 1203 1204 job_to_show = job_dir + "/" + self.list_jobs.currentItem().text() + "/INPUT" 1205 1206 if ( os.path.isdir(job_to_show) ): 1207 1208 list_of_files = os.listdir(job_to_show) 1206 1207 jobitem = self.list_jobs.currentItem() 1208 1209 if ( jobitem != None ): 1210 1211 job_to_show = job_dir + "/" + jobitem.text() + "/INPUT" 1212 1213 if ( os.path.isdir(job_to_show) ): 1214 1215 list_of_files = os.listdir(job_to_show) 1209 1216 1210 for i in range(0,len(list_of_files)):1211 tmp_file = job_to_show + "/" + list_of_files[i]1212 1213 if ( os.path.isfile(tmp_file) ):1214 1217 for i in range(0,len(list_of_files)): 1218 tmp_file = job_to_show + "/" + list_of_files[i] 1219 1220 if ( os.path.isfile(tmp_file) ): 1221 self.list_input.addItem(str(list_of_files[i])) 1215 1222 1216 job_to_show = job_dir + "/" + self.list_jobs.currentItem().text() + "/USER_CODE"1217 1218 if ( os.path.isdir(job_to_show) ):1223 job_to_show = job_dir + "/" + jobitem.text() + "/USER_CODE" 1224 1225 if ( os.path.isdir(job_to_show) ): 1219 1226 1220 list_of_files = os.listdir(job_to_show)1227 list_of_files = os.listdir(job_to_show) 1221 1228 1222 for i in range(0,len(list_of_files)):1223 tmp_file = job_to_show + "/" + list_of_files[i]1224 1225 if ( os.path.isfile(tmp_file) ):1226 1227 1228 job_to_show = job_dir + "/" + self.list_jobs.currentItem().text() + "/MONITORING"1229 1230 if ( os.path.isdir(job_to_show) ):1229 for i in range(0,len(list_of_files)): 1230 tmp_file = job_to_show + "/" + list_of_files[i] 1231 1232 if ( os.path.isfile(tmp_file) ): 1233 self.list_user.addItem(str(list_of_files[i])) 1234 1235 job_to_show = job_dir + "/" + jobitem.text() + "/MONITORING" 1236 1237 if ( os.path.isdir(job_to_show) ): 1231 1238 1232 list_of_files = os.listdir(job_to_show)1239 list_of_files = os.listdir(job_to_show) 1233 1240 1234 for i in range(0,len(list_of_files)):1235 tmp_file = job_to_show + "/" + list_of_files[i]1236 1237 if ( os.path.isfile(tmp_file) ):1238 1239 1240 job_to_show = job_dir + "/" + self.list_jobs.currentItem().text() + "/OUTPUT"1241 1242 if ( os.path.isdir(job_to_show) ):1241 for i in range(0,len(list_of_files)): 1242 tmp_file = job_to_show + "/" + list_of_files[i] 1243 1244 if ( os.path.isfile(tmp_file) ): 1245 self.list_monitoring.addItem(str(list_of_files[i])) 1246 1247 job_to_show = job_dir + "/" + jobitem.text() + "/OUTPUT" 1248 1249 if ( os.path.isdir(job_to_show) ): 1243 1250 1244 list_of_files = os.listdir(job_to_show)1251 list_of_files = os.listdir(job_to_show) 1245 1252 1246 for i in range(0,len(list_of_files)):1247 tmp_file = job_to_show + "/" + list_of_files[i]1248 1249 if ( os.path.isfile(tmp_file) ):1250 1253 for i in range(0,len(list_of_files)): 1254 tmp_file = job_to_show + "/" + list_of_files[i] 1255 1256 if ( os.path.isfile(tmp_file) ): 1257 self.list_output.addItem(str(list_of_files[i])) 1251 1258 1252 self.group_execution.findChild(QtGui.QLineEdit,"line_jobname").setText(self.list_jobs.currentItem().text())1259 self.group_execution.findChild(QtGui.QLineEdit,"line_jobname").setText(jobitem.text()) 1253 1260 self.group_history.findChild(QtGui.QListWidget,"list_jobname").clearSelection() 1254 1261
Note: See TracChangeset
for help on using the changeset viewer.