Commits

re-update phase value in sm_settrop_test, re CAS-14337

casatools/tests/tools/simulator/test_tool_simulator.py

Modified
95 95 par1 = cpar[0,0,index1]
96 96 par2 = cpar[0,0,index2]
97 97
98 98 # get phase angles
99 99 phaseang1 = numpy.angle(par1, deg=True)
100 100 phaseang2 = numpy.angle(par2, deg=True)
101 101
102 102 phaseDiff = phaseang2 - phaseang1
103 103
104 104 # Test that there is no more large positive jump in phase angle
105 - self.assertTrue(numpy.isclose(phaseDiff, -15.568996, rtol=1e-4),
105 + self.assertTrue(numpy.isclose(phaseDiff, -15.5720, rtol=1e-3),
106 106 msg=phaseDiff)
107 107 # check that a corrected data col exists
108 108 self.assertTrue(corDataExists)
109 109 # if simint is lower than 0.1 get warning and value changed to 0.1
110 110
111 111 class sm_predict_test(unittest.TestCase):
112 112 """
113 113 """
114 114 comp_list = 'mycomplist.cl'
115 115 orig_ms = 'myms.ms'

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

Add shortcut