DMSC Integration Testing

Last updated: September 25, 2026 08:04:50

Test: nexusfiles-scipp|beer|beer_read_detector_data|beer_detector_n2

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 0x7f85cbe29670>.size
 +            where <scipp.core.bins.Bins object at 0x7f85cbe29670> = <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 0x7f85cb6a7650>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022387.hdf')
detector_name = 'beer_detector_n2'
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 0x7f85cbe29670>.size
E        +            where <scipp.core.bins.Bins object at 0x7f85cbe29670> = <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 0x7fbcc5665a60>.size
 +            where <scipp.core.bins.Bins object at 0x7fbcc5665a60> = <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 0x7fbcc5664ef0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022307.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fbd19bd3e20>

    @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 0x7fbcc5665a60>.size
E        +            where <scipp.core.bins.Bins object at 0x7fbcc5665a60> = <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 0x7fa1fad19010>.size
 +            where <scipp.core.bins.Bins object at 0x7fa1fad19010> = <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 0x7fa1fad1b050>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022247.hdf')
detector_name = 'beer_detector_n2'
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 0x7fa1fad19010>.size
E        +            where <scipp.core.bins.Bins object at 0x7fa1fad19010> = <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 0x7f368aa205c0>.size
 +            where <scipp.core.bins.Bins object at 0x7f368aa205c0> = <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 0x7f368a844ec0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022207.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f36dedbfe20>

    @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 0x7f368aa205c0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f368aa205c0> = <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 0x7fd994d9f350>.size
 +            where <scipp.core.bins.Bins object at 0x7fd994d9f350> = <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 0x7fd994d9fc50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022207.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fd9e91d3e20>

    @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 0x7fd994d9f350>.size
E        +            where <scipp.core.bins.Bins object at 0x7fd994d9f350> = <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 0x7f8852f30fe0>.size
 +            where <scipp.core.bins.Bins object at 0x7f8852f30fe0> = <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 0x7f8852f31550>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022197.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f88a73c7e20>

    @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 0x7f8852f30fe0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f8852f30fe0> = <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 0x7ff1eb3df710>.size
 +            where <scipp.core.bins.Bins object at 0x7ff1eb3df710> = <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 0x7ff1eb3df980>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022117.hdf')
detector_name = 'beer_detector_n2'
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 0x7ff1eb3df710>.size
E        +            where <scipp.core.bins.Bins object at 0x7ff1eb3df710> = <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 0x7f6b0d01c5c0>.size
 +            where <scipp.core.bins.Bins object at 0x7f6b0d01c5c0> = <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 0x7f6b0d01c7d0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022067.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f6b0dabd620>

    @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 0x7f6b0d01c5c0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f6b0d01c5c0> = <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 0x7fb18b2bfa10>.size
 +            where <scipp.core.bins.Bins object at 0x7fb18b2bfa10> = <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 0x7fb18ae8f560>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022067.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fb18ba2d4e0>

    @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 0x7fb18b2bfa10>.size
E        +            where <scipp.core.bins.Bins object at 0x7fb18b2bfa10> = <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 0x7fd9d654b380>.size
 +            where <scipp.core.bins.Bins object at 0x7fd9d654b380> = <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 0x7fd9d654b560>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022067.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fd9d70d14e0>

    @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 0x7fd9d654b380>.size
E        +            where <scipp.core.bins.Bins object at 0x7fd9d654b380> = <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 0x7f473cb11ee0>.size
 +            where <scipp.core.bins.Bins object at 0x7f473cb11ee0> = <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 0x7f473c913770>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022047.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f473d875440>

    @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 0x7f473cb11ee0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f473cb11ee0> = <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 0x7f403dc77380>.size
 +            where <scipp.core.bins.Bins object at 0x7f403dc77380> = <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 0x7f403dc770b0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022037.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f403ef891c0>

    @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 0x7f403dc77380>.size
E        +            where <scipp.core.bins.Bins object at 0x7f403dc77380> = <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 0x7fe2e6fbac60>.size
 +            where <scipp.core.bins.Bins object at 0x7fe2e6fbac60> = <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 0x7fe2e6fbb0b0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022037.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fe2e7b291c0>

    @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 0x7fe2e6fbac60>.size
E        +            where <scipp.core.bins.Bins object at 0x7fe2e6fbac60> = <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 0x7fe754cbc800>.size
 +            where <scipp.core.bins.Bins object at 0x7fe754cbc800> = <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 0x7fe754cbc2f0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022027.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fe75556d1c0>

    @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 0x7fe754cbc800>.size
E        +            where <scipp.core.bins.Bins object at 0x7fe754cbc800> = <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 0x7efcc41973b0>.size
 +            where <scipp.core.bins.Bins object at 0x7efcc41973b0> = <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 0x7efcc4197500>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022027.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7efcc4cc51c0>

    @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 0x7efcc41973b0>.size
E        +            where <scipp.core.bins.Bins object at 0x7efcc41973b0> = <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 0x7f9e141a2ea0>.size
 +            where <scipp.core.bins.Bins object at 0x7f9e141a2ea0> = <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 0x7f9e141a3710>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00022027.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f9e1552d1c0>

    @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 0x7f9e141a2ea0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f9e141a2ea0> = <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 0x7f52617b5280>.size
 +            where <scipp.core.bins.Bins object at 0x7f52617b5280> = <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 0x7f52614e3410>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021977.hdf')
detector_name = 'beer_detector_n2'
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 0x7f52617b5280>.size
E        +            where <scipp.core.bins.Bins object at 0x7f52617b5280> = <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 0x7fcbaca1ffb0>.size
 +            where <scipp.core.bins.Bins object at 0x7fcbaca1ffb0> = <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 0x7fcbaca1c9b0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021913.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fcc00fc3b00>

    @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 0x7fcbaca1ffb0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fcbaca1ffb0> = <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 0x7f20e3111160>.size
 +            where <scipp.core.bins.Bins object at 0x7f20e3111160> = <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 0x7f20e2ff8560>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021903.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f20e3ea4fe0>

    @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 0x7f20e3111160>.size
E        +            where <scipp.core.bins.Bins object at 0x7f20e3111160> = <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 0x7fd3e266a990>.size
 +            where <scipp.core.bins.Bins object at 0x7fd3e266a990> = <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 0x7fd3e2731490>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021903.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fd3e3229120>

    @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 0x7fd3e266a990>.size
E        +            where <scipp.core.bins.Bins object at 0x7fd3e266a990> = <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 0x7f729daf7920>.size
 +            where <scipp.core.bins.Bins object at 0x7f729daf7920> = <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 0x7f7294386f60>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021833.hdf')
detector_name = 'beer_detector_n2'
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 0x7f729daf7920>.size
E        +            where <scipp.core.bins.Bins object at 0x7f729daf7920> = <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 0x7fee0094d640>.size
 +            where <scipp.core.bins.Bins object at 0x7fee0094d640> = <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 0x7fee00b02c00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021703.hdf')
detector_name = 'beer_detector_n2'
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 0x7fee0094d640>.size
E        +            where <scipp.core.bins.Bins object at 0x7fee0094d640> = <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 0x7f24529dafc0>.size
 +            where <scipp.core.bins.Bins object at 0x7f24529dafc0> = <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 0x7f24529d9d60>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021563.hdf')
detector_name = 'beer_detector_n2'
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 0x7f24529dafc0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f24529dafc0> = <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 0x7f7e19168e60>.size
 +            where <scipp.core.bins.Bins object at 0x7f7e19168e60> = <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 0x7f7e18e2ae40>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021513.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f7e196e0fe0>

    @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 0x7f7e19168e60>.size
E        +            where <scipp.core.bins.Bins object at 0x7f7e19168e60> = <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 0x7fa597758650>.size
 +            where <scipp.core.bins.Bins object at 0x7fa597758650> = <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 0x7fa5975df830>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021413.hdf')
detector_name = 'beer_detector_n2'
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 0x7fa597758650>.size
E        +            where <scipp.core.bins.Bins object at 0x7fa597758650> = <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 0x7fd195b1b9e0>.size
 +            where <scipp.core.bins.Bins object at 0x7fd195b1b9e0> = <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 0x7fd195b1b8f0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021273.hdf')
detector_name = 'beer_detector_n2'
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 0x7fd195b1b9e0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fd195b1b9e0> = <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 0x7f83a4cb6b70>.size
 +            where <scipp.core.bins.Bins object at 0x7f83a4cb6b70> = <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 0x7f83a4cb5970>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00021123.hdf')
detector_name = 'beer_detector_n2'
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 0x7f83a4cb6b70>.size
E        +            where <scipp.core.bins.Bins object at 0x7f83a4cb6b70> = <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 0x7f9f521a17f0>.size
 +            where <scipp.core.bins.Bins object at 0x7f9f521a17f0> = <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 0x7f9f521a2420>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020983.hdf')
detector_name = 'beer_detector_n2'
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 0x7f9f521a17f0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f9f521a17f0> = <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 0x7f3948d98e60>.size
 +            where <scipp.core.bins.Bins object at 0x7f3948d98e60> = <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 0x7f3948959d60>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020913.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f3949bd5120>

    @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 0x7f3948d98e60>.size
E        +            where <scipp.core.bins.Bins object at 0x7f3948d98e60> = <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 0x7f6556b3b800>.size
 +            where <scipp.core.bins.Bins object at 0x7f6556b3b800> = <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 0x7f6556712180>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020893.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f6556fb5120>

    @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 0x7f6556b3b800>.size
E        +            where <scipp.core.bins.Bins object at 0x7f6556b3b800> = <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 0x7f91f2b8fdd0>.size
 +            where <scipp.core.bins.Bins object at 0x7f91f2b8fdd0> = <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 0x7f91f2b8f710>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020893.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f91f353d120>

    @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 0x7f91f2b8fdd0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f91f2b8fdd0> = <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 0x7f25b1902d20>.size
 +            where <scipp.core.bins.Bins object at 0x7f25b1902d20> = <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 0x7f25b1902ae0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020893.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f25b2633380>

    @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 0x7f25b1902d20>.size
E        +            where <scipp.core.bins.Bins object at 0x7f25b1902d20> = <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 0x7f6037a7fad0>.size
 +            where <scipp.core.bins.Bins object at 0x7f6037a7fad0> = <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 0x7f6037a7ff50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020703.hdf')
detector_name = 'beer_detector_n2'
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 0x7f6037a7fad0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f6037a7fad0> = <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 0x7f65a92639e0>.size
 +            where <scipp.core.bins.Bins object at 0x7f65a92639e0> = <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 0x7f65a9527c50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020563.hdf')
detector_name = 'beer_detector_n2'
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 0x7f65a92639e0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f65a92639e0> = <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 0x7fa6c987f500>.size
 +            where <scipp.core.bins.Bins object at 0x7fa6c987f500> = <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 0x7fa6c9379bb0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020563.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fa6c9d8b380>

    @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 0x7fa6c987f500>.size
E        +            where <scipp.core.bins.Bins object at 0x7fa6c987f500> = <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 0x7f144d76dbe0>.size
 +            where <scipp.core.bins.Bins object at 0x7f144d76dbe0> = <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 0x7f144d76e990>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020417.hdf')
detector_name = 'beer_detector_n2'
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 0x7f144d76dbe0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f144d76dbe0> = <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 0x7f7a2e00fb00>.size
 +            where <scipp.core.bins.Bins object at 0x7f7a2e00fb00> = <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 0x7f7a2e00df70>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020267.hdf')
detector_name = 'beer_detector_n2'
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 0x7f7a2e00fb00>.size
E        +            where <scipp.core.bins.Bins object at 0x7f7a2e00fb00> = <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 0x7fe9c38919a0>.size
 +            where <scipp.core.bins.Bins object at 0x7fe9c38919a0> = <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 0x7fe9c395fa10>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020207.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7fe9c6fd2980>

    @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 0x7fe9c38919a0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fe9c38919a0> = <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 0x7f89ddfd4890>.size
 +            where <scipp.core.bins.Bins object at 0x7f89ddfd4890> = <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 0x7f89ddf4a270>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020205.hdf')
detector_name = 'beer_detector_n2'
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 0x7f89ddfd4890>.size
E        +            where <scipp.core.bins.Bins object at 0x7f89ddfd4890> = <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 0x7efe3859c860>.size
 +            where <scipp.core.bins.Bins object at 0x7efe3859c860> = <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 0x7efe3859c3b0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020205.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7efe38e21260>

    @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 0x7efe3859c860>.size
E        +            where <scipp.core.bins.Bins object at 0x7efe3859c860> = <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 0x7f29a38ec920>.size
 +            where <scipp.core.bins.Bins object at 0x7f29a38ec920> = <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 0x7f29a38ed610>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020205.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f29a4025260>

    @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 0x7f29a38ec920>.size
E        +            where <scipp.core.bins.Bins object at 0x7f29a38ec920> = <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 0x7f8536fcbf50>.size
 +            where <scipp.core.bins.Bins object at 0x7f8536fcbf50> = <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 0x7f8536fcbe60>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_beer_999999_00020205.hdf')
detector_name = 'beer_detector_n2'
check_detector_events = <function _check_detector_events at 0x7f8537721260>

    @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 0x7f8536fcbf50>.size
E        +            where <scipp.core.bins.Bins object at 0x7f8536fcbf50> = <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