Build: #2 failed
Job: Test Tasks macOS 15 Py3.12 failed
Sdimaging test polflag.test pseudo i: Test case result
The below summarizes the result of the test "Sdimaging test polflag.test pseudo i" in build 2 of CASASPECS - Dev Test Full 3.12 - CAS-14642 - Test Tasks macOS 15 Py3.12.
- Description
- Sdimaging test polflag.test pseudo i
- Test class
- test_task_tsdimaging
- Method
- sdimaging_test_polflag.test_pseudo_i
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
TypeError: %d format: a real number is required, not numpy.ndarray
test_task_tsdimaging.py:2997: in test_pseudo_i
self.run_test(self.task_param, refstats, out_shape, atol=1.e-5)
test_task_tsdimaging.py:2967: in run_test
self.res = tsdimaging(**task_param)
^^^^^^^^^^^^^^^^^^^^^^^^
../../../../casa6testenv/lib/python3.12/site-packages/casatasks/tsdimaging.py:426: in __call__
task_result = _tsdimaging_t( _pc.document['infiles'], _pc.document['outfile'], _pc.document['overwrite'], _pc.document['field'], _pc.document['spw'], _pc.document['antenna'], _pc.document['scan'], _pc.document['intent'], _pc.document['timerange'], _pc.document['outframe'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['veltype'], _pc.document['specmode'], _pc.document['interpolation'], _pc.document['pointingcolumn'], _pc.document['convertfirst'], _pc.document['projection'], _pc.document['imsize'], _pc.document['cell'], _pc.document['phasecenter'], _pc.document['stokes'], _pc.document['gridfunction'], _pc.document['convsupport'], _pc.document['truncate'], _pc.document['gwidth'], _pc.document['jwidth'], _pc.document['clipminmax'], _pc.document['minweight'], _pc.document['brightnessunit'], _pc.document['restfreq'] )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../casa6testenv/lib/python3.12/site-packages/casatasks/private/sdutil.py:129: in wrapper
retval = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
../../../../casa6testenv/lib/python3.12/site-packages/casatasks/private/task_tsdimaging.py:1046: in tsdimaging
_imsize, _cell, _phasecenter = _handle_image_params(
../../../../casa6testenv/lib/python3.12/site-packages/casatasks/private/task_tsdimaging.py:585: in _handle_image_params
_imsize = _get_imsize(map_param['width'], map_param['height'], cellx, celly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../casa6testenv/lib/python3.12/site-packages/casatasks/private/task_tsdimaging.py:457: in _get_imsize
casalog.post("Image pixel numbers to cover the extent: [%d, %d] (projected)" %
E TypeError: %d format: a real number is required, not numpy.ndarray