Build: #19 failed
Job: Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10 failed
CAs 3259: Test case result
The below summarizes the result of the test " CAs 3259" in build 19 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
- Description
- CAs 3259
- Test class
- tests.tools.regionmanager.test_tool_regionmanager.rg_fromtextfile_test
- Method
- test_CAS_3259
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
RuntimeError: RegionTextParser::RegionTextParser: File CAS-3259.txt does not exist.
self = <test_tool_regionmanager.rg_fromtextfile_test testMethod=test_CAS_3259>
def test_CAS_3259(self):
"""Verify fix to CAS-3259"""
self.ia.fromshape("", [250, 250])
> self._testit(self.cas_3259t, self.cas_3259r)
../../../casatools/tests/tools/regionmanager/test_tool_regionmanager.py:654:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../casatools/tests/tools/regionmanager/test_tool_regionmanager.py:623: in _testit
got = self.rg.fromtextfile(text, shape, csys)
../../../../venv/lib/python3.10/site-packages/casatools/regionmanager.py:165: in fromtextfile
return self._swigobj.fromtextfile(filename, shape, csys)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <casatools.__casac__.regionmanager.regionmanager; proxy of <Swig Object of type 'casac::regionmanager *' at 0x7f78c86c8510> >
args = ('CAS-3259.txt', array([250, 250]), {'direction0': {'axes': array(['Right Ascension', 'Declination'], dtype='<U15'), '...ue': 51544.00000000116}, 'refer': 'UTC', 'type': 'epoch'}, 'observer': 'Karl Jansky', 'pixelmap0': array([0, 1]), ...})
kwargs = {}
def fromtextfile(self, *args, **kwargs):
"""
fromtextfile(self, _filename, _shape, _csys) -> record *
Summary:
Create a region dictionary from a region text file.
Description:
This function reads a text file containing region descriptions and
converts it to a python dictionary.
Input Parameters:
filename List of text file containing the region description
shape Image shape.
csys Coordinate system record. Defaults to coordinate system used in rg.setcoordinates()
--------------------------------------------------------------------------------
"""
> return _regionmanager.regionmanager_fromtextfile(self, *args, **kwargs)
E RuntimeError: RegionTextParser::RegionTextParser: File CAS-3259.txt does not exist.
../../../../venv/lib/python3.10/site-packages/casatools/__casac__/regionmanager.py:674: RuntimeError