Commits

Dirk Petry authored 4998032db74
CAS-14218: increased the CPARAM phase angle comparison tolerance

in unit test case test11 by factor 2 in order to accommodate differences between Linux and MacOS.

casatasks/tests/tasks/test_task_wvrgcal.py

Modified
720 720
721 721 if(self.rval):
722 722 self.rval = th.compTables(self.ref[16], self.out, ['WEIGHT','CPARAM'], tolerance=self.comptabtol)
723 723 # ignore WEIGHT because it is empty, CPARAM because it is tested separately
724 724
725 725 if(self.rval):
726 726 figfile = ''
727 727 if self.makeplots:
728 728 figfile='test11'
729 729 self.rval = comp_gainphase(oldctab=self.ref[16], newctab=self.out, myant=-1, spw=[0],
730 - tol_deg=10*self.compangtol, # the nsol>1 setting leads to a larger impact of the rnd gen dependencies
730 + tol_deg=20*self.compangtol, # the nsol>1 setting leads to a larger impact of the rnd gen dependencies
731 731 figfile=figfile)
732 732
733 733 self.assertTrue(self.rval)
734 734
735 735 def test12(self):
736 736 '''Test 12: wvrgcal4quasar_10s.ms, disperse'''
737 737 myvis = self.vis_g
738 738 os.system('cp -R ' + myvis + ' myinput.ms')
739 739 rvaldict = wvrgcal(vis="myinput.ms",caltable=self.out, disperse=True, toffset=-1.)
740 740

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

Add shortcut