Commits

Srikrishna Sekhar authored and Ville Suoranta committed 40b0c6f9a39 Merge
Pull request #885: CAS-14201

Merge in CASA/casa6 from CAS-14201 to master * commit 'b71d591b336f451eafdd6b5d603f185da4313b2b': CAS-14201: Fix bug with mask=[] CAS-14201 : Undo previous commit, with fix CAS-14201 : Removed spurious immod call CAS-14201 : Removed debug print statements CAS-14201 : Intermediate commit, many cout statements CAS-14201 : Fix peakResNM and peakRes swap CAS-14201 - Multifield summaryminor no longer crashing CAS-14201: Added pipes for minorcyclesummary in returndict CAS-14201 - Partial commit for summaryminor returndict CAS-14201 : niter > 0 peakres respects zero mask CAS-14201 : Add check for mask validity CAS-14201 : Bugfix for maskname CAS-14201 : Roll back mask creation CAS-14201 : Modify tclean(niter=0) to respect mask
No tags

casatasks/src/private/imagerhelpers/imager_base.py

Modified
293 293 return stopreasons[stopflag - 1]
294 294 return None
295 295
296 296 def hasConverged(self):
297 297 # Merge peak-res info from all fields to decide iteration parameters
298 298 time0 = time.time()
299 299 self.IBtool.resetminorcycleinfo()
300 300 for immod in range(0, self.NF):
301 301 initrec = self.SDtools[immod].initminorcycle()
302 302 # print('INIT Minor cycle dict {}'.format(initrec))
303 - self.IBtool.mergeinitrecord(initrec)
303 + self.IBtool.mergeinitrecord(initrec, immod)
304 304
305 305 # # Run interactive masking (and threshold/niter editors)
306 306 # self.runInteractiveGUI2()
307 307
308 308 # Check with the iteration controller about convergence.
309 309 reachedNmajor = (
310 310 self.iterpars["nmajor"] >= 0 and self.majorCnt >= self.iterpars["nmajor"]
311 311 )
312 312 stopflag = self.IBtool.cleanComplete(reachedMajorLimit=reachedNmajor)
313 313 if stopflag > 0:

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut