DMSC Integration Testing

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

Test: nexusfiles-scipp|tbl|tbl_read_detector_data|ngem_detector

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


AssertionError: assert np.int64(0) > 0
 +  where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n.value
 +    where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n                              int64        <no unit>  ()  0\n\n = sum()
 +      where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n.sum
 +        where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero         datetime64             [ns]  (event_time_zero)  []\nData:\n                              int64        <no unit>  (event_time_zero)  []\n\n = size()
 +          where size = <scipp.core.bins.Bins object at 0x7f87ba2d6180>.size
 +            where <scipp.core.bins.Bins object at 0x7f87ba2d6180> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f87ba30bc20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00019228.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f87bdbd2a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f87ba2d6180>.size
E        +            where <scipp.core.bins.Bins object at 0x7f87ba2d6180> = <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-tbl/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 0x7f3759afc2f0>.size
 +            where <scipp.core.bins.Bins object at 0x7f3759afc2f0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3759d87ad0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00019097.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f375d6baa20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f3759afc2f0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f3759afc2f0> = <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-tbl/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 0x7fbc6f8bbfb0>.size
 +            where <scipp.core.bins.Bins object at 0x7fbc6f8bbfb0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fbc5e7a9340>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018957.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7fbc732caa20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fbc6f8bbfb0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fbc6f8bbfb0> = <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-tbl/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 0x7f3d7bfc95e0>.size
 +            where <scipp.core.bins.Bins object at 0x7f3d7bfc95e0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3d7c190620>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018817.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f3d7fb06a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f3d7bfc95e0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f3d7bfc95e0> = <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-tbl/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 0x7fbc876fa090>.size
 +            where <scipp.core.bins.Bins object at 0x7fbc876fa090> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fbc876a6ed0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018677.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7fbc8b1fea20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fbc876fa090>.size
E        +            where <scipp.core.bins.Bins object at 0x7fbc876fa090> = <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-tbl/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 0x7fc57820dee0>.size
 +            where <scipp.core.bins.Bins object at 0x7fc57820dee0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fc577a844d0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018333.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7fc57b1c2a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fc57820dee0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fc57820dee0> = <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-tbl/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 0x7f71d5533890>.size
 +            where <scipp.core.bins.Bins object at 0x7f71d5533890> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f71d58d1a00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018333.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f71d88caa20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f71d5533890>.size
E        +            where <scipp.core.bins.Bins object at 0x7f71d5533890> = <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-tbl/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 0x7fcd5388d790>.size
 +            where <scipp.core.bins.Bins object at 0x7fcd5388d790> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fcd53b8bc20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018333.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7fcd569e2a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fcd5388d790>.size
E        +            where <scipp.core.bins.Bins object at 0x7fcd5388d790> = <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-tbl/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 0x7f4d5d784950>.size
 +            where <scipp.core.bins.Bins object at 0x7f4d5d784950> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4d5ddebfe0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018253.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f4d60cb2a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f4d5d784950>.size
E        +            where <scipp.core.bins.Bins object at 0x7f4d5d784950> = <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-tbl/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 0x7f2bb2932a50>.size
 +            where <scipp.core.bins.Bins object at 0x7f2bb2932a50> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f2bb2932fc0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018123.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f2bb5ddaa20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f2bb2932a50>.size
E        +            where <scipp.core.bins.Bins object at 0x7f2bb2932a50> = <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-tbl/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 0x7f79254d3590>.size
 +            where <scipp.core.bins.Bins object at 0x7f79254d3590> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f792529c2f0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017983.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f79287bea20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f79254d3590>.size
E        +            where <scipp.core.bins.Bins object at 0x7f79254d3590> = <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-tbl/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 0x7f3e3cdfd4f0>.size
 +            where <scipp.core.bins.Bins object at 0x7f3e3cdfd4f0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3e40db96d0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017746.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f3e43eaaa20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f3e3cdfd4f0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f3e3cdfd4f0> = <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-tbl/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 0x7fc9154e8080>.size
 +            where <scipp.core.bins.Bins object at 0x7fc9154e8080> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fc915703c50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017658.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7fc9186baa20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fc9154e8080>.size
E        +            where <scipp.core.bins.Bins object at 0x7fc9154e8080> = <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-tbl/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 0x7fd7e11a9820>.size
 +            where <scipp.core.bins.Bins object at 0x7fd7e11a9820> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fd7e16a6270>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017548.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7fd7e48b2a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fd7e11a9820>.size
E        +            where <scipp.core.bins.Bins object at 0x7fd7e11a9820> = <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-tbl/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 0x7fdadf0a29c0>.size
 +            where <scipp.core.bins.Bins object at 0x7fdadf0a29c0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fdadf0a05f0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017398.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7fdae20a6a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fdadf0a29c0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fdadf0a29c0> = <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-tbl/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 0x7f8792e065d0>.size
 +            where <scipp.core.bins.Bins object at 0x7f8792e065d0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f8793089af0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017258.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f87962c6a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f8792e065d0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f8792e065d0> = <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-tbl/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 0x7f77ed5fd820>.size
 +            where <scipp.core.bins.Bins object at 0x7f77ed5fd820> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f77ed746c00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017118.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f77f08e2a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f77ed5fd820>.size
E        +            where <scipp.core.bins.Bins object at 0x7f77ed5fd820> = <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-tbl/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 0x7f199f60c8c0>.size
 +            where <scipp.core.bins.Bins object at 0x7f199f60c8c0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f199f69a090>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016978.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f19a28b2a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f199f60c8c0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f199f60c8c0> = <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-tbl/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 0x7fdda2081cd0>.size
 +            where <scipp.core.bins.Bins object at 0x7fdda2081cd0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fdda20828a0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016708.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7fdda4f9aa20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fdda2081cd0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fdda2081cd0> = <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-tbl/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 0x7f8d40d43dd0>.size
 +            where <scipp.core.bins.Bins object at 0x7f8d40d43dd0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f8d40e78c80>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016558.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f8d4404ea20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f8d40d43dd0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f8d40d43dd0> = <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-tbl/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 0x7f5a47dfc2f0>.size
 +            where <scipp.core.bins.Bins object at 0x7f5a47dfc2f0> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f5a47c98050>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016428.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f5a4ad96a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f5a47dfc2f0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f5a47dfc2f0> = <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-tbl/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 0x7f7e9c998620>.size
 +            where <scipp.core.bins.Bins object at 0x7f7e9c998620> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f7e9c94ea50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016278.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f7ea3a8ea20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f7e9c998620>.size
E        +            where <scipp.core.bins.Bins object at 0x7f7e9c998620> = <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-tbl/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 0x7f0222cdfd10>.size
 +            where <scipp.core.bins.Bins object at 0x7f0222cdfd10> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f02225da7e0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016138.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7f0225cb2a20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f0222cdfd10>.size
E        +            where <scipp.core.bins.Bins object at 0x7f0222cdfd10> = <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-tbl/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 0x7fa42b470c80>.size
 +            where <scipp.core.bins.Bins object at 0x7fa42b470c80> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fa42b9cc050>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00015998.hdf')
detector_name = 'ngem_detector'
check_detector_events = <function _check_detector_events at 0x7fa42ebdea20>

    @pytest.mark.parametrize(
        "detector_name",
        [
            "he3_detector_bank0",
            "he3_detector_bank1",
            "multiblade_detector",
            "ngem_detector",
            "timepix3_detector",
        ],
    )
    def test_tbl_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/tbl/tbl_load_nexus_test.py:96: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fa42b470c80>.size
E        +            where <scipp.core.bins.Bins object at 0x7fa42b470c80> = <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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError