Commits
480 480 | #print "Using complist=",cl2010 |
481 481 | #self.im.ft(complist=cl2010) |
482 482 | |
483 483 | #if cleanupcomps: |
484 484 | # shutil.rmtree(clname) |
485 485 | #self.clnamelist.append(clname) |
486 486 | self.clnamelist.append(clname) |
487 487 | |
488 488 | msg="Using channel dependent " if scalebychan else "Using spw dependent " |
489 489 | |
490 + | if clrecs=={}: |
491 + | raise Exception, "No componentlist is generated." |
490 492 | self._casalog.post(msg+" flux densities") |
491 493 | #self._reportoLog(clrecs,self._casalog) |
492 494 | self._reportoLog2(clrecs,self._casalog) |
493 495 | #self._updateHistory(clrecs,self.vis) |
494 496 | self._updateHistory2(clrecs,self.vis) |
495 497 | # dictionary of dictionary for each field |
496 498 | retdict[vfid]=clrecs |
497 499 | # ==== end of for loop over fields |
498 500 | #output=self._makeRetFluxDict(retdict) |
499 501 | output=self._makeRetFluxDict2(retdict) |