Build: #1 failed
Job: Test Tasks macOS 15 Py3.12 failed
Gencal gaincurve test.test gain curve VLBA: Test case result
The below summarizes the result of the test "Gencal gaincurve test.test gain curve VLBA" in build 1 of CASASPECS - Dev Test Full 3.12 - CAS-14624 - Test Tasks macOS 15 Py3.12.
- Description
- Gencal gaincurve test.test gain curve VLBA
- Test class
- test_task_gencal
- Method
- gencal_gaincurve_test.test_gainCurveVLBA
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
TypeError: only length-1 arrays can be converted to Python scalars
test_task_gencal.py:495: in test_gainCurveVLBA
self.assertTrue(th.compTables(caltab, vlbacal, ['WEIGHT']))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../casa6testenv/lib/python3.12/site-packages/casatestutils/testhelper.py:168: in compTables
if ((mode=="percentage") and not math.isclose(a[i][j], b[i][j], rel_tol=tolerance)) or ((mode=="absolute") and not math.isclose(a[i][j], b[i][j], abs_tol=tolerance)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E TypeError: only length-1 arrays can be converted to Python scalars