DMSC Integration Testing

Last updated: September 25, 2026 08:02:48

Test: nexusfiles-scipp|beer|beer_read_detector_data|beer_detector_s2

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f85cb754b60>.size
 +            where <scipp.core.bins.Bins object at 0x7f85cb754b60> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f85cb754500>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022387.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f861fbd3e20>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:63: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f85cb754b60>.size
E        +            where <scipp.core.bins.Bins object at 0x7f85cb754b60> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7fa1fadf0f50>.size
 +            where <scipp.core.bins.Bins object at 0x7fa1fadf0f50> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fa1fadf1190>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022247.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7fa24d5abe20>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:63: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7fa1fadf0f50>.size
E        +            where <scipp.core.bins.Bins object at 0x7fa1fadf0f50> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7ff1eb426420>.size
 +            where <scipp.core.bins.Bins object at 0x7ff1eb426420> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7ff1eb4264e0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022117.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7ff1ec349580>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7ff1eb426420>.size
E        +            where <scipp.core.bins.Bins object at 0x7ff1eb426420> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f52614209b0>.size
 +            where <scipp.core.bins.Bins object at 0x7f52614209b0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f5261420e30>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021977.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f5261f0cfe0>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f52614209b0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f52614209b0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f729ce1a390>.size
 +            where <scipp.core.bins.Bins object at 0x7f729ce1a390> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f729d6f9430>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021833.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f729e151120>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f729ce1a390>.size
E        +            where <scipp.core.bins.Bins object at 0x7f729ce1a390> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7fee00b02c30>.size
 +            where <scipp.core.bins.Bins object at 0x7fee00b02c30> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fee0094d040>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021703.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7fee01491120>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7fee00b02c30>.size
E        +            where <scipp.core.bins.Bins object at 0x7fee00b02c30> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f2452a2e390>.size
 +            where <scipp.core.bins.Bins object at 0x7f2452a2e390> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f2452a2e000>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021563.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f245393cfe0>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f2452a2e390>.size
E        +            where <scipp.core.bins.Bins object at 0x7f2452a2e390> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7fa597421cd0>.size
 +            where <scipp.core.bins.Bins object at 0x7fa597421cd0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fa597420f50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021413.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7fa598480fe0>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7fa597421cd0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fa597421cd0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7fd195edfd70>.size
 +            where <scipp.core.bins.Bins object at 0x7fd195edfd70> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fd195b65bb0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021273.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7fd196725120>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7fd195edfd70>.size
E        +            where <scipp.core.bins.Bins object at 0x7fd195edfd70> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f83a4c7db80>.size
 +            where <scipp.core.bins.Bins object at 0x7f83a4c7db80> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f83a4c7cbc0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021123.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f83a5b90fe0>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f83a4c7db80>.size
E        +            where <scipp.core.bins.Bins object at 0x7f83a4c7db80> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f9f521c6120>.size
 +            where <scipp.core.bins.Bins object at 0x7f9f521c6120> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f9f521c5fa0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020983.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f9f52c11120>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f9f521c6120>.size
E        +            where <scipp.core.bins.Bins object at 0x7f9f521c6120> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f60378b69c0>.size
 +            where <scipp.core.bins.Bins object at 0x7f60378b69c0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f60378b5400>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020703.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f6038967380>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f60378b69c0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f60378b69c0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f65a916c0b0>.size
 +            where <scipp.core.bins.Bins object at 0x7f65a916c0b0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f65a916c0e0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020563.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f65aa457380>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f65a916c0b0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f65a916c0b0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f144d710140>.size
 +            where <scipp.core.bins.Bins object at 0x7f144d710140> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f144d713530>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020417.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f144e687240>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f144d710140>.size
E        +            where <scipp.core.bins.Bins object at 0x7f144d710140> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f7a2e5fcf20>.size
 +            where <scipp.core.bins.Bins object at 0x7f7a2e5fcf20> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f7a2e64f860>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020267.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f7a2e825260>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f7a2e5fcf20>.size
E        +            where <scipp.core.bins.Bins object at 0x7f7a2e5fcf20> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f89de4f9490>.size
 +            where <scipp.core.bins.Bins object at 0x7f89de4f9490> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f89de4fa9f0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020205.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f89e152e980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f89de4f9490>.size
E        +            where <scipp.core.bins.Bins object at 0x7f89de4f9490> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f5b3c9299a0>.size
 +            where <scipp.core.bins.Bins object at 0x7f5b3c9299a0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f5b3c92bf20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020205.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f5b3fb0e980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f5b3c9299a0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f5b3c9299a0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f4f554d7bf0>.size
 +            where <scipp.core.bins.Bins object at 0x7f4f554d7bf0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4f559ffe30>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020117.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f4f58b12980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f4f554d7bf0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f4f554d7bf0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f01db6de720>.size
 +            where <scipp.core.bins.Bins object at 0x7f01db6de720> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f01db6dd2e0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00019974.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f01de7be980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f01db6de720>.size
E        +            where <scipp.core.bins.Bins object at 0x7f01db6de720> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f9a59ea0c50>.size
 +            where <scipp.core.bins.Bins object at 0x7f9a59ea0c50> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f9a59ea1700>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00019807.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f9a5d0a2980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f9a59ea0c50>.size
E        +            where <scipp.core.bins.Bins object at 0x7f9a59ea0c50> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f83f4b232f0>.size
 +            where <scipp.core.bins.Bins object at 0x7f83f4b232f0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f83f4e61be0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00019445.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f83f8116980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f83f4b232f0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f83f4b232f0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7fd635cd2b10>.size
 +            where <scipp.core.bins.Bins object at 0x7fd635cd2b10> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fd635201f70>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00019445.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7fd63849a980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7fd635cd2b10>.size
E        +            where <scipp.core.bins.Bins object at 0x7fd635cd2b10> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7fd592acd970>.size
 +            where <scipp.core.bins.Bins object at 0x7fd592acd970> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fd592890ce0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00019375.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7fd595be2980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7fd592acd970>.size
E        +            where <scipp.core.bins.Bins object at 0x7fd592acd970> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f7fe248b8f0>.size
 +            where <scipp.core.bins.Bins object at 0x7f7fe248b8f0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f7fe2490c50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00019229.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f7fe54c2980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f7fe248b8f0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f7fe248b8f0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f4aa4d950a0>.size
 +            where <scipp.core.bins.Bins object at 0x7f4aa4d950a0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4aa4dab620>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00019098.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f4aa7eba980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f4aa4d950a0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f4aa4d950a0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f75fa2e7ce0>.size
 +            where <scipp.core.bins.Bins object at 0x7f75fa2e7ce0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f75fa28a270>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00018958.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f75fd2be980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f75fa2e7ce0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f75fa2e7ce0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f013e0db4d0>.size
 +            where <scipp.core.bins.Bins object at 0x7f013e0db4d0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f013e0ecc80>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00018818.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f014120e980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f013e0db4d0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f013e0db4d0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f846e396b40>.size
 +            where <scipp.core.bins.Bins object at 0x7f846e396b40> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f846e3a2330>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00018678.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f847148a980>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f846e396b40>.size
E        +            where <scipp.core.bins.Bins object at 0x7f846e396b40> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f4a53a75e50>.size
 +            where <scipp.core.bins.Bins object at 0x7f4a53a75e50> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4a53a76ff0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00016849.hdf')
detector_name = 'beer_detector_s2'
check_detector_events = <function _check_detector_events at 0x7f4a569c3600>

    @pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
    def test_beer_read_detector_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/beer/beer_load_nexus_test.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

da = <scipp.DataArray>
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero         datetime64            ... dims=(event: 0),
          data=float32[counts],
          coords={'event_time_offset':int32[ns], 'event_id':int32})



    def _check_detector_events(da: sc.DataArray) -> None:
        assert "event_time_offset" in da.bins.coords
        assert "event_id" in da.bins.coords
        assert "event_time_zero" in da.coords
>       assert da.bins.size().sum().value > 0
E       AssertionError: assert np.int64(0) > 0
E        +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
E        +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
E        +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
E        +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
E        +          where size = <scipp.core.bins.Bins object at 0x7f4a53a75e50>.size
E        +            where <scipp.core.bins.Bins object at 0x7f4a53a75e50> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                          DataArrayView        <no unit>  (event_time_zero)  binned data: dim='event', content=DataArray(\n          dims=(event: 0),\n          data=float32[counts],\n          coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins

.tox/nexusfiles-scipp-beer/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report