DMSC Integration Testing

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

Test: nexusfiles-scipp|odin|odin_read_detector_data|timepix3

View job log here


KeyError: 'event_mode_detectors'
In provider ess.reduce.nexus.workflow.load_nexus_data(
    location: ess.reduce.nexus.types.NeXusDataLocationSpec[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusData[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:370: KeyError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f8152d601a0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022385.hdf')
check_detector_events = <function _check_detector_events at 0x7f81a63c7e20>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
>       result = workflow.compute(NeXusData[NXdetector, SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:56: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/task_graph.py:122: in compute
    return self._scheduler.get(self._graph, [targets], reporter=reporter)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/scheduler.py:140: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:279: in load_nexus_data
    nexus.load_data(
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/ess/reduce/nexus/_nexus_loader.py:560: in load_data
    component = instrument[component_name]
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:367: in __getitem__
    return self[grp][sel_path.relative_to(grp).as_posix()]
           ^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <scippnexus.base.Group object at 0x7f81522877a0>
sel = 'event_mode_detectors'

    def __getitem__(self, sel):
        """
        Get a child group or child dataset, a selection of child groups, or load and
        return the current group.
    
        Three cases are supported:
    
        - String name: The child group or child dataset of that name is returned.
        - Class such as ``NXdata`` or ``NXlog``: A dict containing all direct children
          with a matching ``NX_class`` attribute are returned. Also accepts a tuple of
          classes. ``Field`` selects all child fields, i.e., all datasets but not
          groups.
        - Scipp-style index: Load the specified slice of the current group, returning
          a :class:`scipp.DataArray` or :class:`scipp.DataGroup`.
    
        Parameters
        ----------
        sel:
            Child name, class, or index.
    
        Returns
        -------
        :
            Field, group, dict of fields, or loaded data.
        """
        if isinstance(sel, str):
            # We cannot get the child directly from the HDF5 group, since we need to
            # create the parent group, to ensure that fields get the correct properties
            # such as sizes and dtype.
            if '/' in sel:
                sel_path = PurePosixPath(sel)
                if sel_path.is_absolute():
                    return self.file[sel_path.relative_to('/').as_posix()]
                # If the path is a single name, we can directly access the child
                elif len(sel_path.parts) == 1:
                    return self[sel_path.as_posix()]
                else:
                    grp = sel_path.parts[0]
                    return self[grp][sel_path.relative_to(grp).as_posix()]
            elif sel == '..':
                return self.parent
>           child = self._children[sel]
                    ^^^^^^^^^^^^^^^^^^^
E           KeyError: 'event_mode_detectors'
E           In provider ess.reduce.nexus.workflow.load_nexus_data(
E               location: ess.reduce.nexus.types.NeXusDataLocationSpec[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E           ) -> ess.reduce.nexus.types.NeXusData[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:370: KeyError

View job log here


KeyError: 'event_mode_detectors'
In provider ess.reduce.nexus.workflow.load_nexus_data(
    location: ess.reduce.nexus.types.NeXusDataLocationSpec[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusData[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:370: KeyError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f7a9317d550>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022255.hdf')
check_detector_events = <function _check_detector_events at 0x7f7ae71bbe20>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
>       result = workflow.compute(NeXusData[NXdetector, SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:56: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/task_graph.py:122: in compute
    return self._scheduler.get(self._graph, [targets], reporter=reporter)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/scheduler.py:140: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:279: in load_nexus_data
    nexus.load_data(
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/ess/reduce/nexus/_nexus_loader.py:560: in load_data
    component = instrument[component_name]
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:367: in __getitem__
    return self[grp][sel_path.relative_to(grp).as_posix()]
           ^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <scippnexus.base.Group object at 0x7f7a93026ab0>
sel = 'event_mode_detectors'

    def __getitem__(self, sel):
        """
        Get a child group or child dataset, a selection of child groups, or load and
        return the current group.
    
        Three cases are supported:
    
        - String name: The child group or child dataset of that name is returned.
        - Class such as ``NXdata`` or ``NXlog``: A dict containing all direct children
          with a matching ``NX_class`` attribute are returned. Also accepts a tuple of
          classes. ``Field`` selects all child fields, i.e., all datasets but not
          groups.
        - Scipp-style index: Load the specified slice of the current group, returning
          a :class:`scipp.DataArray` or :class:`scipp.DataGroup`.
    
        Parameters
        ----------
        sel:
            Child name, class, or index.
    
        Returns
        -------
        :
            Field, group, dict of fields, or loaded data.
        """
        if isinstance(sel, str):
            # We cannot get the child directly from the HDF5 group, since we need to
            # create the parent group, to ensure that fields get the correct properties
            # such as sizes and dtype.
            if '/' in sel:
                sel_path = PurePosixPath(sel)
                if sel_path.is_absolute():
                    return self.file[sel_path.relative_to('/').as_posix()]
                # If the path is a single name, we can directly access the child
                elif len(sel_path.parts) == 1:
                    return self[sel_path.as_posix()]
                else:
                    grp = sel_path.parts[0]
                    return self[grp][sel_path.relative_to(grp).as_posix()]
            elif sel == '..':
                return self.parent
>           child = self._children[sel]
                    ^^^^^^^^^^^^^^^^^^^
E           KeyError: 'event_mode_detectors'
E           In provider ess.reduce.nexus.workflow.load_nexus_data(
E               location: ess.reduce.nexus.types.NeXusDataLocationSpec[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E           ) -> ess.reduce.nexus.types.NeXusData[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:370: KeyError

View job log here


KeyError: 'event_mode_detectors'
In provider ess.reduce.nexus.workflow.load_nexus_data(
    location: ess.reduce.nexus.types.NeXusDataLocationSpec[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusData[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:370: KeyError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f004af146e0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022115.hdf')
check_detector_events = <function _check_detector_events at 0x7f0064059580>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
>       result = workflow.compute(NeXusData[NXdetector, SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:64: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/task_graph.py:122: in compute
    return self._scheduler.get(self._graph, [targets], reporter=reporter)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/scheduler.py:140: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:279: in load_nexus_data
    nexus.load_data(
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/ess/reduce/nexus/_nexus_loader.py:560: in load_data
    component = instrument[component_name]
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:367: in __getitem__
    return self[grp][sel_path.relative_to(grp).as_posix()]
           ^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <scippnexus.base.Group object at 0x7f0061c86990>
sel = 'event_mode_detectors'

    def __getitem__(self, sel):
        """
        Get a child group or child dataset, a selection of child groups, or load and
        return the current group.
    
        Three cases are supported:
    
        - String name: The child group or child dataset of that name is returned.
        - Class such as ``NXdata`` or ``NXlog``: A dict containing all direct children
          with a matching ``NX_class`` attribute are returned. Also accepts a tuple of
          classes. ``Field`` selects all child fields, i.e., all datasets but not
          groups.
        - Scipp-style index: Load the specified slice of the current group, returning
          a :class:`scipp.DataArray` or :class:`scipp.DataGroup`.
    
        Parameters
        ----------
        sel:
            Child name, class, or index.
    
        Returns
        -------
        :
            Field, group, dict of fields, or loaded data.
        """
        if isinstance(sel, str):
            # We cannot get the child directly from the HDF5 group, since we need to
            # create the parent group, to ensure that fields get the correct properties
            # such as sizes and dtype.
            if '/' in sel:
                sel_path = PurePosixPath(sel)
                if sel_path.is_absolute():
                    return self.file[sel_path.relative_to('/').as_posix()]
                # If the path is a single name, we can directly access the child
                elif len(sel_path.parts) == 1:
                    return self[sel_path.as_posix()]
                else:
                    grp = sel_path.parts[0]
                    return self[grp][sel_path.relative_to(grp).as_posix()]
            elif sel == '..':
                return self.parent
>           child = self._children[sel]
                    ^^^^^^^^^^^^^^^^^^^
E           KeyError: 'event_mode_detectors'
E           In provider ess.reduce.nexus.workflow.load_nexus_data(
E               location: ess.reduce.nexus.types.NeXusDataLocationSpec[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E           ) -> ess.reduce.nexus.types.NeXusData[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:370: KeyError

View job log here


KeyError: 'event_mode_detectors'
In provider ess.reduce.nexus.workflow.load_nexus_data(
    location: ess.reduce.nexus.types.NeXusDataLocationSpec[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusData[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:370: KeyError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f7bb7e8a630>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021975.hdf')
check_detector_events = <function _check_detector_events at 0x7f7bba40d120>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
>       result = workflow.compute(NeXusData[NXdetector, SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:64: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/task_graph.py:122: in compute
    return self._scheduler.get(self._graph, [targets], reporter=reporter)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/scheduler.py:140: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:279: in load_nexus_data
    nexus.load_data(
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/ess/reduce/nexus/_nexus_loader.py:560: in load_data
    component = instrument[component_name]
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:367: in __getitem__
    return self[grp][sel_path.relative_to(grp).as_posix()]
           ^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <scippnexus.base.Group object at 0x7f7bb7cfea80>
sel = 'event_mode_detectors'

    def __getitem__(self, sel):
        """
        Get a child group or child dataset, a selection of child groups, or load and
        return the current group.
    
        Three cases are supported:
    
        - String name: The child group or child dataset of that name is returned.
        - Class such as ``NXdata`` or ``NXlog``: A dict containing all direct children
          with a matching ``NX_class`` attribute are returned. Also accepts a tuple of
          classes. ``Field`` selects all child fields, i.e., all datasets but not
          groups.
        - Scipp-style index: Load the specified slice of the current group, returning
          a :class:`scipp.DataArray` or :class:`scipp.DataGroup`.
    
        Parameters
        ----------
        sel:
            Child name, class, or index.
    
        Returns
        -------
        :
            Field, group, dict of fields, or loaded data.
        """
        if isinstance(sel, str):
            # We cannot get the child directly from the HDF5 group, since we need to
            # create the parent group, to ensure that fields get the correct properties
            # such as sizes and dtype.
            if '/' in sel:
                sel_path = PurePosixPath(sel)
                if sel_path.is_absolute():
                    return self.file[sel_path.relative_to('/').as_posix()]
                # If the path is a single name, we can directly access the child
                elif len(sel_path.parts) == 1:
                    return self[sel_path.as_posix()]
                else:
                    grp = sel_path.parts[0]
                    return self[grp][sel_path.relative_to(grp).as_posix()]
            elif sel == '..':
                return self.parent
>           child = self._children[sel]
                    ^^^^^^^^^^^^^^^^^^^
E           KeyError: 'event_mode_detectors'
E           In provider ess.reduce.nexus.workflow.load_nexus_data(
E               location: ess.reduce.nexus.types.NeXusDataLocationSpec[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E           ) -> ess.reduce.nexus.types.NeXusData[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/scippnexus/base.py:370: KeyError

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 0x7f3c618bb620>.size
 +            where <scipp.core.bins.Bins object at 0x7f3c618bb620> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3c6178b890>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021701.hdf')
check_detector_events = <function _check_detector_events at 0x7f3c6376cfe0>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f3c618bb620>.size
E        +            where <scipp.core.bins.Bins object at 0x7f3c618bb620> = <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-odin/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 0x7f6643a21460>.size
 +            where <scipp.core.bins.Bins object at 0x7f6643a21460> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f6643c09bb0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021561.hdf')
check_detector_events = <function _check_detector_events at 0x7f6645c1cfe0>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f6643a21460>.size
E        +            where <scipp.core.bins.Bins object at 0x7f6643a21460> = <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-odin/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 0x7f43658869c0>.size
 +            where <scipp.core.bins.Bins object at 0x7f43658869c0> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4365887140>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021411.hdf')
check_detector_events = <function _check_detector_events at 0x7f43673a5120>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f43658869c0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f43658869c0> = <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-odin/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 0x7f081302f860>.size
 +            where <scipp.core.bins.Bins object at 0x7f081302f860> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f0812fd4950>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021271.hdf')
check_detector_events = <function _check_detector_events at 0x7f0815a11120>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f081302f860>.size
E        +            where <scipp.core.bins.Bins object at 0x7f081302f860> = <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-odin/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 0x7f31c4825a00>.size
 +            where <scipp.core.bins.Bins object at 0x7f31c4825a00> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f31c481bbc0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021131.hdf')
check_detector_events = <function _check_detector_events at 0x7f31c6899120>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f31c4825a00>.size
E        +            where <scipp.core.bins.Bins object at 0x7f31c4825a00> = <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-odin/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 0x7f83a1e7c080>.size
 +            where <scipp.core.bins.Bins object at 0x7f83a1e7c080> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f83a1e7d730>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020415.hdf')
check_detector_events = <function _check_detector_events at 0x7f83a411b240>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f83a1e7c080>.size
E        +            where <scipp.core.bins.Bins object at 0x7f83a1e7c080> = <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-odin/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 0x7f4fc32919a0>.size
 +            where <scipp.core.bins.Bins object at 0x7f4fc32919a0> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4fc32f5520>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020275.hdf')
check_detector_events = <function _check_detector_events at 0x7f4fc3d29260>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f4fc32919a0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f4fc32919a0> = <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-odin/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 0x7fecda4a47d0>.size
 +            where <scipp.core.bins.Bins object at 0x7fecda4a47d0> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fecda38b9e0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020202.hdf')
check_detector_events = <function _check_detector_events at 0x7fecdde02980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fecda4a47d0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fecda4a47d0> = <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-odin/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 0x7fbacca423f0>.size
 +            where <scipp.core.bins.Bins object at 0x7fbacca423f0> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fbacbad9130>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020202.hdf')
check_detector_events = <function _check_detector_events at 0x7fbacf30e980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fbacca423f0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fbacca423f0> = <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-odin/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 0x7f3a811e13d0>.size
 +            where <scipp.core.bins.Bins object at 0x7f3a811e13d0> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3a814a72c0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020114.hdf')
check_detector_events = <function _check_detector_events at 0x7f3a84c9e980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f3a811e13d0>.size
E        +            where <scipp.core.bins.Bins object at 0x7f3a811e13d0> = <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-odin/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 0x7f9e22c27c20>.size
 +            where <scipp.core.bins.Bins object at 0x7f9e22c27c20> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f9e22eba1b0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019971.hdf')
check_detector_events = <function _check_detector_events at 0x7f9e2680a980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f9e22c27c20>.size
E        +            where <scipp.core.bins.Bins object at 0x7f9e22c27c20> = <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-odin/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 0x7fb178144bf0>.size
 +            where <scipp.core.bins.Bins object at 0x7fb178144bf0> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fb17c0c5b50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019453.hdf')
check_detector_events = <function _check_detector_events at 0x7fb17f9c6980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fb178144bf0>.size
E        +            where <scipp.core.bins.Bins object at 0x7fb178144bf0> = <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-odin/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 0x7f9bb64d5790>.size
 +            where <scipp.core.bins.Bins object at 0x7f9bb64d5790> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f9bb6339340>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019453.hdf')
check_detector_events = <function _check_detector_events at 0x7f9bb9f0e980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f9bb64d5790>.size
E        +            where <scipp.core.bins.Bins object at 0x7f9bb64d5790> = <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-odin/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 0x7fbdc47ef470>.size
 +            where <scipp.core.bins.Bins object at 0x7fbdc47ef470> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fbdc585af60>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019373.hdf')
check_detector_events = <function _check_detector_events at 0x7fbdc810e980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fbdc47ef470>.size
E        +            where <scipp.core.bins.Bins object at 0x7fbdc47ef470> = <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-odin/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 0x7fa6399f7d10>.size
 +            where <scipp.core.bins.Bins object at 0x7fa6399f7d10> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fa639c91d00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019227.hdf')
check_detector_events = <function _check_detector_events at 0x7fa63d4be980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7fa6399f7d10>.size
E        +            where <scipp.core.bins.Bins object at 0x7fa6399f7d10> = <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-odin/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 0x7f21a44bed80>.size
 +            where <scipp.core.bins.Bins object at 0x7f21a44bed80> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f21a24e59d0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019096.hdf')
check_detector_events = <function _check_detector_events at 0x7f21a7f12980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f21a44bed80>.size
E        +            where <scipp.core.bins.Bins object at 0x7f21a44bed80> = <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-odin/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 0x7f4e4774f320>.size
 +            where <scipp.core.bins.Bins object at 0x7f4e4774f320> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4e4c165820>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00018956.hdf')
check_detector_events = <function _check_detector_events at 0x7f4e55be2980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f4e4774f320>.size
E        +            where <scipp.core.bins.Bins object at 0x7f4e4774f320> = <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-odin/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 0x7f8f56eb3b60>.size
 +            where <scipp.core.bins.Bins object at 0x7f8f56eb3b60> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f8f56ee3c20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00018816.hdf')
check_detector_events = <function _check_detector_events at 0x7f8f5a4a6980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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 0x7f8f56eb3b60>.size
E        +            where <scipp.core.bins.Bins object at 0x7f8f56eb3b60> = <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-odin/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 0x7fce13f681d0>.size
 +            where <scipp.core.bins.Bins object at 0x7fce13f681d0> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fce1014c680>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00018676.hdf')
check_detector_events = <function _check_detector_events at 0x7fce175c2980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


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 0x7f9794090aa0>.size
 +            where <scipp.core.bins.Bins object at 0x7f9794090aa0> = <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-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f978b90b350>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00016977.hdf')
check_detector_events = <function _check_detector_events at 0x7f97a532a980>

    def test_odin_read_detector_data__timepix3(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        check_detector_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = "event_mode_detectors/timepix3"
    
        result = workflow.compute(NeXusData[NXdetector, SampleRun])
    
>       check_detector_events(result)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report