Commits

Neal Schweighart authored d567705b252
additional reporting on some failure stats

casatools/tests/tools/simulator/test_tool_simulator.py

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

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

Add shortcut