Build: #18 failed
Job: Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10 failed
continguous stokes: Test case result
The below summarizes the result of the test " continguous stokes" in build 18 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
- Description
- continguous stokes
- Test class
- tests.tools.regionmanager.test_tool_regionmanager.rg_frombcs_test
- Method
- test_continguous_stokes
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
RuntimeError: FITSImgParser::setup - imregion.fits Error opening FITS input.
self = <test_tool_regionmanager.rg_frombcs_test testMethod=test_continguous_stokes>
def test_continguous_stokes(self):
"""Test setting a contiguous stokes"""
box = ""
chans = ""
stokes = "QU"
stokes_control = "a"
> myreg = self.run_frombcs(
self.image, box, chans, stokes, stokes_control
)
../../../casatools/tests/tools/regionmanager/test_tool_regionmanager.py:170:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../casatools/tests/tools/regionmanager/test_tool_regionmanager.py:97: in run_frombcs
myia.open(imagename)
../../../../venv/lib/python3.10/site-packages/casatools/image.py:2640: in open
return self._swigobj.open(infile, cache)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <casatools.__casac__.image.image; proxy of <Swig Object of type 'casac::image *' at 0x7f1d9584e490> >
args = ('imregion.fits', True), kwargs = {}
def open(self, *args, **kwargs):
"""
open(self, _infile, _cache) -> bool
Summary:
Open a new image file with this image tool
Description:
This method detaches from the current image (if an image is attached to the tool), and
reattaches it (opens) to the new image.
The input image file may be in native CASA, FITS, or Miriad format. In the case
of CASA images, images with float, complex float, double, and complex double
valued pixels are supported. Note that only FITS images with float valued pixels
are supported.
The cache parameter applies only to component list images and indicates if pixel
values should be cached after they are computed for faster retrieval. It is not
used for other image types.
Input Parameters:
infile image file name
cache Cache pixel values for use while image is in use? Ignored if image being opened is not a ComponentListImage.
Example:
#
print 't----t open Ex 1 t----'
ia.maketestimage('anotherimage',overwrite=true) #first make 2nd image
ia.close()
ia.maketestimage('myimage',overwrite=true) #open image myimage
ia.open('anotherimage') # attach tool to 'anotherimage'
ia.close()
#
The {stff open} function first closes the old imagefile.
--------------------------------------------------------------------------------
"""
> return _image.image_open(self, *args, **kwargs)
E RuntimeError: FITSImgParser::setup - imregion.fits Error opening FITS input.
../../../../venv/lib/python3.10/site-packages/casatools/__casac__/image.py:5462: RuntimeError