Build: #3 failed
Job: Pipeline PR Test 6.7.4 failed
select tsys field[same-name]: Test case result
The below summarizes the result of the test " select tsys field[same-name]" in build 3 of PIPESPECS - Pipeline Pull Request Test - PIPE-3163-source-pointings-plots-missing-for-multi-target-datasets - Pipeline PR Test 6.7.4.
- Description
- select tsys field[same-name]
- Test class
- pipeline.infrastructure.displays.plotpointings_test
- Method
- test_select_tsys_field[same-name]
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
AssertionError: assert [Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {})] == Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {})
+ where [Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {})] = select_tsys_fields(<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbee360>, Source(1, 'NGC_2997', {}, {}))
case = (<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbee360>, Source(1, 'NGC_2997', {}, {}), Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {}))
def test_select_tsys_field(case: tuple[MeasurementSet, Source, Field | None]) -> None:
"""Test select_tsys_field for correct selections."""
ms, source, expected = case
if expected is None:
with pytest.raises(LookupError):
select_tsys_fields(ms, source)
else:
> assert select_tsys_fields(ms, source) == expected
E AssertionError: assert [Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {})] == Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {})
E + where [Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {})] = select_tsys_fields(<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbee360>, Source(1, 'NGC_2997', {}, {}))
infrastructure/displays/plotpointings_test.py:119: AssertionError