DMSC Integration Testing

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

Test: nexusfiles-scipp|loki|loki_read_monitor_data|beam_monitor_m4

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fc2383f4560>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00022382.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fc23f009620>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:107: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f7fa35afec0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00022252.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f7fa71994e0>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:107: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f1d3405b2f0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00022112.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f1d4471d6c0>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f53724cbc20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00021972.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f5375f4d260>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f38200c7920>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00021838.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f383f259120>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f89e80868a0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00021698.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f89f4e79260>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f5aa71b22d0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00021558.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f5aeae75120>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fc05354aa50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00021418.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fc056ca9260>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fb48f2ad6a0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00021268.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fb4de97d120>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3645f29970>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00021128.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f3649ff1260>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fb510d07860>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00020988.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fb514515260>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fd1371be330>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00020708.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fd13b12f4c0>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fb09f4f6600>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00020568.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fb0a37b74c0>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f97d53467b0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00020412.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f9806dbf4c0>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f88f545f290>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00020272.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f88f77f13a0>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f089fe6b770>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00020199.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f08a5511300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f8efcc8f980>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00020199.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f8f02405300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fe5ebeaaa20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00020111.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fe5f0e2d300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f20e24fb500>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00019979.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f2118431300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3ee55acf20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00019802.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f3eea031300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fcf43fe8f50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00019450.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fcf4911d300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fa3f4dbcb60>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00019450.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fa3f9d7d300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4cb35105c0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00019370.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f4cb911d300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f5fc0206750>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00019224.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f5fc86f1300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f59fdb04c20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00019093.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f5a0802d300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f484b42ee40>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00018953.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f4850431300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f852bc19be0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00018813.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f8530d1d300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fd7cb3bc740>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00018673.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fd7d045d300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f9648a7e0c0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00018329.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f964d86d300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7ffadc086000>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00018329.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7ffae3e69300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f735b061580>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00018329.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f7360919300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4568c9ad80>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00018249.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f456de31300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fc2f3dcb170>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00018119.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fc2f8979300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.
In provider ess.reduce.nexus.workflow.to_transformation(
    chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
    interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
    time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f36200c80b0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00017979.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f3627031300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/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-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.
E       In provider ess.reduce.nexus.workflow.to_transformation(
E           chain: ess.reduce.nexus.types.NeXusTransformationChain[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E           interval: ess.reduce.nexus.types.TimeInterval[ess.reduce.nexus.types.SampleRun],
E           time_filter: ess.reduce.nexus.types.TransformationTimeFilter[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun],
E       ) -> ess.reduce.nexus.types.NeXusTransformation[ess.reduce.nexus.types.IncidentMonitor, ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fa27014ad50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00017742.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fa277431300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7feecd3b8c50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00017654.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7feed1e6d300>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f29f5ffcf80>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00017544.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f29caa2e480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f531aad7b60>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00017394.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f531f972480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f30cfbd2510>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00017264.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f30d4a2a480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4aec6241a0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00017124.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f4af1362480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4b21c7b980>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00016984.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f4b26d62480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fbd3260be60>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00016844.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7fbd3761e480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f85d5357ad0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00016704.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f85da116480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f88301bec00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00016564.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f8846e2e480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7feaf683ca70>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00016424.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7feafb572480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f37d61ea8d0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00016284.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f37dab7e480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f608d26e090>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00016144.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f609235a480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError

View job log here


ValueError: Transform is time-dependent: <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0
* maximum_value             float64             [mm]  ()  0
* minimum_value             float64             [mm]  ()  0
* time                    datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []

, but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f25bb1282c0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_loki_999999_00016004.hdf')
monitor_name = 'beam_monitor_m4'
check_monitor_data = <function _check_monitor_data at 0x7f25bfa22480>

    @pytest.mark.parametrize("monitor_name", [f"beam_monitor_m{i}" for i in range(5)])
    def test_loki_read_monitor_data(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        monitor_name: str,
        check_monitor_data: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusMonitorName[Incident]] = monitor_name
>       result = workflow.compute(RawMonitor[SampleRun, Incident])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/loki/loki_load_nexus_test.py:115: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/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-loki/lib/python3.12/site-packages/sciline/scheduler.py:119: in get
    return self._dask_get(dsk, list(map(_to_dask_key, keys)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/threaded.py:91: in get
    results = get_async(
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:549: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:353: in reraise
    raise exc
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/local.py:258: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/_task_spec.py:759: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/dask/utils.py:80: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:375: in to_transformation
    t.value = _apply_time_filter(t.value['time', interval.value], time_filter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:319: in _apply_time_filter
    filtered = user_filter(transform)
               ^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transform = <scipp.DataArray>
Dimensions: Sizes[time:0, ]
Coordinates:
* average_value             float64             [mm]  ()  0...       datetime64             [ns]  (time)  []
Data:
                            float64             [mm]  (time)  []



    def reject_time_dependent_transform(
        transform: sc.DataArray,
    ) -> Never:
        """Raise a value error to forbid time-dependent transformations by default."""
>       raise ValueError(
            f"Transform is time-dependent: {transform}, but no filter is provided."
        )
E       ValueError: Transform is time-dependent: <scipp.DataArray>
E       Dimensions: Sizes[time:0, ]
E       Coordinates:
E       * average_value             float64             [mm]  ()  0
E       * maximum_value             float64             [mm]  ()  0
E       * minimum_value             float64             [mm]  ()  0
E       * time                    datetime64             [ns]  (time)  []
E       Data:
E                                   float64             [mm]  (time)  []
E       
E       , but no filter is provided.

.tox/nexusfiles-scipp-loki/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:308: ValueError