Commits
282 282 | t1=time.time(); |
283 283 | casalog.post("***Time for minor cycle: "+"%.2f"%(t1-t0)+" sec", "INFO3", "task_deconvolve"); |
284 284 | isit = decon.hasConverged() # get the convergence state, to report back to the calling code |
285 285 | |
286 286 | |
287 287 | # Residual image needs to be computed for this to work |
288 288 | if niter==0 or runmin==False: |
289 289 | id = ImagingDict() |
290 290 | retrec1 = id.construct_residual_dict(paramList) |
291 291 | |
292 + | print("retrec1 ", retrec1) |
293 + | |
292 294 | ## Get summary from iterbot |
293 295 | #if type(interactive) != bool and niter>0: |
294 296 | # this requrirment should go... |
295 297 | #if niter>0: |
296 298 | retrec=decon.getSummary(fullsummary); |
299 + | |
300 + | print("retrec ", retrec) |
301 + | |
297 302 | if niter==0 or runmin==False: |
298 303 | retrec['summaryminor'] = retrec1['summaryminor'] #CAS-14184 |
304 + | retrec['stopcode'] = retrec1['stopcode'] |
305 + | retrec['stopDescription'] = retrec1['stopDescription'] |
299 306 | |
300 307 | |
301 308 | ################################################# |
302 309 | #### Teardown |
303 310 | ################################################# |
304 311 | |
305 312 | ## Get records from iterbot, to be used in the next call to deconvolve |
306 313 | iterrec = decon.getIterRecords() |
307 314 | |
308 315 | ## Restore images. |