Build: #2 failed
Job: Test Tasks Many Linux 2.28 Python 3.12 L4 failed
Imregrid test.test history: Test case result
The below summarizes the result of the test "Imregrid test.test history" in build 2 of CASASPECS - Dev Test GPU 3.12 L4 - CAS-14708 - Test Tasks Many Linux 2.28 Python 3.12 L4.
- Description
- Imregrid test.test history
- Test class
- test_task_imregrid
- Method
- imregrid_test.test_history
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
TypeError: only 0-dimensional arrays can be converted to Python scalars
test_task_imregrid.py:943: in test_history
imregrid(
../../../../venv/lib/python3.12/site-packages/casatasks/imregrid.py:331: in __call__
task_result = _imregrid_t( _pc.document['imagename'], _pc.document['template'], _pc.document['output'], _pc.document['asvelocity'], _pc.document['axes'], _pc.document['shape'], _pc.document['interpolation'], _pc.document['decimate'], _pc.document['replicate'], _pc.document['overwrite'] )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../venv/lib/python3.12/site-packages/casatasks/private/task_imregrid.py:42: in imregrid
outia = _imregrid_to_new_ref_frame(
../../../../venv/lib/python3.12/site-packages/casatasks/private/task_imregrid.py:234: in _imregrid_to_new_ref_frame
pad = int(max(xnew - shape[0]/2, ynew - shape[1]/2))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E TypeError: only 0-dimensional arrays can be converted to Python scalars