Build: #1 failed
Job: Test Tasks macOS 15 Py3.12 failed
Sdimaging test polflag.test xx: Test case result
The below summarizes the result of the test "Sdimaging test polflag.test xx" in build 1 of CASASPECS - Dev Test Full 3.12 - CAS-14710 - Test Tasks macOS 15 Py3.12.
- Description
- Sdimaging test polflag.test xx
- Test class
- test_task_sdimaging
- Method
- sdimaging_test_polflag.test_xx
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
TypeError: %d format: a real number is required, not numpy.ndarray
test_task_sdimaging.py:2462: in test_xx
self.run_test(self.task_param, refstats, out_shape, atol=1.e-5)
test_task_sdimaging.py:2434: in run_test
self.res = sdimaging(**task_param)
^^^^^^^^^^^^^^^^^^^^^^^
../../../../casa6testenv/lib/python3.12/site-packages/casatasks/sdimaging.py:365: in __call__
task_result = _sdimaging_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['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['veltype'], _pc.document['outframe'], _pc.document['gridfunction'], _pc.document['convsupport'], _pc.document['truncate'], _pc.document['gwidth'], _pc.document['jwidth'], _pc.document['imsize'], _pc.document['cell'], _pc.document['phasecenter'], _pc.document['projection'], _pc.document['ephemsrcname'], _pc.document['pointingcolumn'], _pc.document['restfreq'], _pc.document['stokes'], _pc.document['minweight'], _pc.document['brightnessunit'], _pc.document['clipminmax'], _pc.document['enablecache'], _pc.document['convertfirst'], _pc.document['interpolation'] )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../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_sdimaging.py:32: in sdimaging
worker.execute()
../../../../casa6testenv/lib/python3.12/site-packages/casatasks/private/task_sdimaging.py:916: in execute
self._configure_map_property()
../../../../casa6testenv/lib/python3.12/site-packages/casatasks/private/task_sdimaging.py:812: in _configure_map_property
imsize = self._get_imsize(map_param['width'], map_param['height'], cellx, celly)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../casa6testenv/lib/python3.12/site-packages/casatasks/private/task_sdimaging.py:1192: 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