DMSC Integration Testing

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

Test: nexusfiles-scipp|dream|can_compute_wavelength|endcap_forward_detector

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


FutureWarning: The 'numba' frame-unwrapping backend was requested, but Numba is unavailable or did not select a thread-safe threading layer. Falling back to the 'scipy' backend. This fallback is deprecated and will be an error in a future release. Select the SciPy backend explicitly with backend='scipy'.
In provider ess.reduce.unwrap.to_wavelength.detector_wavelength_data(
    detector_data: ess.reduce.nexus.types.RawDetector[ess.reduce.nexus.types.SampleRun],
    lookup: ess.reduce.unwrap.types.ErrorLimitedLookupTable[ess.reduce.nexus.types.SampleRun, scippnexus.nxdetector.NXdetector],
    ltotal: ess.reduce.unwrap.types.DetectorLtotal[ess.reduce.nexus.types.SampleRun],
    pulse_stride_offset: ess.reduce.unwrap.types.PulseStrideOffset,
    keep_event_time_offset: ess.reduce.unwrap.types.KeepEventTimeOffset,
    backend: <enum 'FrameUnwrapBackend'>,
) -> ess.reduce.unwrap.types.WavelengthDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f07a5c5c710>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_dream_999999_00020835.hdf')
detector_name = 'endcap_forward_detector'

    @pytest.mark.parametrize(
        "detector_name",
        [
            "endcap_backward_detector",
            "endcap_forward_detector",
            "high_resolution_detector",
            "mantle_detector",
            "sans_detector",
        ],
    )
    def test_can_compute_wavelength(
        workflow: sciline.Pipeline, coda_nexus_file_path: Path, detector_name: str
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(WavelengthDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/dream/dream_reduction_test.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/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-dream/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-dream/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:577: in detector_wavelength_data
    _compute_wavelength_data(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:533: in _compute_wavelength_data
    out = _compute_wavelength_events(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:392: in _compute_wavelength_events
    inputs = _prepare_wavelength_interpolation_inputs(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:317: in _prepare_wavelength_interpolation_inputs
    interp = WavelengthInterpolator(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:130: in __init__
    self._interpolator = _get_interpolator_class(backend)(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

backend = <FrameUnwrapBackend.numba: 'numba'>

    def _get_interpolator_class(backend: FrameUnwrapBackend) -> type:
        if backend == FrameUnwrapBackend.scipy:
            from .interpolator_scipy import Interpolator
    
            return Interpolator
    
        try:
            from numba import get_num_threads, threading_layer
    
            # Initialize the threading layer now so we can inspect the selected backend
            # and fall back before interpolation.
            get_num_threads()
            if threading_layer() in {'omp', 'tbb'}:
                from .interpolator_numba import Interpolator
    
                return Interpolator
        except (ImportError, ValueError):
            pass
    
>       warnings.warn(
            "The 'numba' frame-unwrapping backend was requested, but Numba is "
            "unavailable or did not select a thread-safe threading layer. Falling "
            "back to the 'scipy' backend. This fallback is deprecated and will be "
            "an error in a future release. Select the SciPy backend explicitly with "
            "backend='scipy'.",
            FutureWarning,
            stacklevel=3,
        )
E       FutureWarning: The 'numba' frame-unwrapping backend was requested, but Numba is unavailable or did not select a thread-safe threading layer. Falling back to the 'scipy' backend. This fallback is deprecated and will be an error in a future release. Select the SciPy backend explicitly with backend='scipy'.
E       In provider ess.reduce.unwrap.to_wavelength.detector_wavelength_data(
E           detector_data: ess.reduce.nexus.types.RawDetector[ess.reduce.nexus.types.SampleRun],
E           lookup: ess.reduce.unwrap.types.ErrorLimitedLookupTable[ess.reduce.nexus.types.SampleRun, scippnexus.nxdetector.NXdetector],
E           ltotal: ess.reduce.unwrap.types.DetectorLtotal[ess.reduce.nexus.types.SampleRun],
E           pulse_stride_offset: ess.reduce.unwrap.types.PulseStrideOffset,
E           keep_event_time_offset: ess.reduce.unwrap.types.KeepEventTimeOffset,
E           backend: <enum 'FrameUnwrapBackend'>,
E       ) -> ess.reduce.unwrap.types.WavelengthDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning

View job log here


FutureWarning: The 'numba' frame-unwrapping backend was requested, but Numba is unavailable or did not select a thread-safe threading layer. Falling back to the 'scipy' backend. This fallback is deprecated and will be an error in a future release. Select the SciPy backend explicitly with backend='scipy'.
In provider ess.reduce.unwrap.to_wavelength.detector_wavelength_data(
    detector_data: ess.reduce.nexus.types.RawDetector[ess.reduce.nexus.types.SampleRun],
    lookup: ess.reduce.unwrap.types.ErrorLimitedLookupTable[ess.reduce.nexus.types.SampleRun, scippnexus.nxdetector.NXdetector],
    ltotal: ess.reduce.unwrap.types.DetectorLtotal[ess.reduce.nexus.types.SampleRun],
    pulse_stride_offset: ess.reduce.unwrap.types.PulseStrideOffset,
    keep_event_time_offset: ess.reduce.unwrap.types.KeepEventTimeOffset,
    backend: <enum 'FrameUnwrapBackend'>,
) -> ess.reduce.unwrap.types.WavelengthDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fe80dde5940>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_dream_999999_00020705.hdf')
detector_name = 'endcap_forward_detector'

    @pytest.mark.parametrize(
        "detector_name",
        [
            "endcap_backward_detector",
            "endcap_forward_detector",
            "high_resolution_detector",
            "mantle_detector",
            "sans_detector",
        ],
    )
    def test_can_compute_wavelength(
        workflow: sciline.Pipeline, coda_nexus_file_path: Path, detector_name: str
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(WavelengthDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/dream/dream_reduction_test.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/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-dream/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-dream/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:577: in detector_wavelength_data
    _compute_wavelength_data(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:533: in _compute_wavelength_data
    out = _compute_wavelength_events(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:392: in _compute_wavelength_events
    inputs = _prepare_wavelength_interpolation_inputs(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:317: in _prepare_wavelength_interpolation_inputs
    interp = WavelengthInterpolator(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:130: in __init__
    self._interpolator = _get_interpolator_class(backend)(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

backend = <FrameUnwrapBackend.numba: 'numba'>

    def _get_interpolator_class(backend: FrameUnwrapBackend) -> type:
        if backend == FrameUnwrapBackend.scipy:
            from .interpolator_scipy import Interpolator
    
            return Interpolator
    
        try:
            from numba import get_num_threads, threading_layer
    
            # Initialize the threading layer now so we can inspect the selected backend
            # and fall back before interpolation.
            get_num_threads()
            if threading_layer() in {'omp', 'tbb'}:
                from .interpolator_numba import Interpolator
    
                return Interpolator
        except (ImportError, ValueError):
            pass
    
>       warnings.warn(
            "The 'numba' frame-unwrapping backend was requested, but Numba is "
            "unavailable or did not select a thread-safe threading layer. Falling "
            "back to the 'scipy' backend. This fallback is deprecated and will be "
            "an error in a future release. Select the SciPy backend explicitly with "
            "backend='scipy'.",
            FutureWarning,
            stacklevel=3,
        )
E       FutureWarning: The 'numba' frame-unwrapping backend was requested, but Numba is unavailable or did not select a thread-safe threading layer. Falling back to the 'scipy' backend. This fallback is deprecated and will be an error in a future release. Select the SciPy backend explicitly with backend='scipy'.
E       In provider ess.reduce.unwrap.to_wavelength.detector_wavelength_data(
E           detector_data: ess.reduce.nexus.types.RawDetector[ess.reduce.nexus.types.SampleRun],
E           lookup: ess.reduce.unwrap.types.ErrorLimitedLookupTable[ess.reduce.nexus.types.SampleRun, scippnexus.nxdetector.NXdetector],
E           ltotal: ess.reduce.unwrap.types.DetectorLtotal[ess.reduce.nexus.types.SampleRun],
E           pulse_stride_offset: ess.reduce.unwrap.types.PulseStrideOffset,
E           keep_event_time_offset: ess.reduce.unwrap.types.KeepEventTimeOffset,
E           backend: <enum 'FrameUnwrapBackend'>,
E       ) -> ess.reduce.unwrap.types.WavelengthDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning

View job log here


FutureWarning: The 'numba' frame-unwrapping backend was requested, but Numba is unavailable or did not select a thread-safe threading layer. Falling back to the 'scipy' backend. This fallback is deprecated and will be an error in a future release. Select the SciPy backend explicitly with backend='scipy'.
In provider ess.reduce.unwrap.to_wavelength.detector_wavelength_data(
    detector_data: ess.reduce.nexus.types.RawDetector[ess.reduce.nexus.types.SampleRun],
    lookup: ess.reduce.unwrap.types.ErrorLimitedLookupTable[ess.reduce.nexus.types.SampleRun, scippnexus.nxdetector.NXdetector],
    ltotal: ess.reduce.unwrap.types.DetectorLtotal[ess.reduce.nexus.types.SampleRun],
    pulse_stride_offset: ess.reduce.unwrap.types.PulseStrideOffset,
    keep_event_time_offset: ess.reduce.unwrap.types.KeepEventTimeOffset,
    backend: <enum 'FrameUnwrapBackend'>,
) -> ess.reduce.unwrap.types.WavelengthDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f94bd3b1eb0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_dream_999999_00020565.hdf')
detector_name = 'endcap_forward_detector'

    @pytest.mark.parametrize(
        "detector_name",
        [
            "endcap_backward_detector",
            "endcap_forward_detector",
            "high_resolution_detector",
            "mantle_detector",
            "sans_detector",
        ],
    )
    def test_can_compute_wavelength(
        workflow: sciline.Pipeline, coda_nexus_file_path: Path, detector_name: str
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(WavelengthDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/dream/dream_reduction_test.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/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-dream/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-dream/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:577: in detector_wavelength_data
    _compute_wavelength_data(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:533: in _compute_wavelength_data
    out = _compute_wavelength_events(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:392: in _compute_wavelength_events
    inputs = _prepare_wavelength_interpolation_inputs(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:317: in _prepare_wavelength_interpolation_inputs
    interp = WavelengthInterpolator(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:130: in __init__
    self._interpolator = _get_interpolator_class(backend)(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

backend = <FrameUnwrapBackend.numba: 'numba'>

    def _get_interpolator_class(backend: FrameUnwrapBackend) -> type:
        if backend == FrameUnwrapBackend.scipy:
            from .interpolator_scipy import Interpolator
    
            return Interpolator
    
        try:
            from numba import get_num_threads, threading_layer
    
            # Initialize the threading layer now so we can inspect the selected backend
            # and fall back before interpolation.
            get_num_threads()
            if threading_layer() in {'omp', 'tbb'}:
                from .interpolator_numba import Interpolator
    
                return Interpolator
        except (ImportError, ValueError):
            pass
    
>       warnings.warn(
            "The 'numba' frame-unwrapping backend was requested, but Numba is "
            "unavailable or did not select a thread-safe threading layer. Falling "
            "back to the 'scipy' backend. This fallback is deprecated and will be "
            "an error in a future release. Select the SciPy backend explicitly with "
            "backend='scipy'.",
            FutureWarning,
            stacklevel=3,
        )
E       FutureWarning: The 'numba' frame-unwrapping backend was requested, but Numba is unavailable or did not select a thread-safe threading layer. Falling back to the 'scipy' backend. This fallback is deprecated and will be an error in a future release. Select the SciPy backend explicitly with backend='scipy'.
E       In provider ess.reduce.unwrap.to_wavelength.detector_wavelength_data(
E           detector_data: ess.reduce.nexus.types.RawDetector[ess.reduce.nexus.types.SampleRun],
E           lookup: ess.reduce.unwrap.types.ErrorLimitedLookupTable[ess.reduce.nexus.types.SampleRun, scippnexus.nxdetector.NXdetector],
E           ltotal: ess.reduce.unwrap.types.DetectorLtotal[ess.reduce.nexus.types.SampleRun],
E           pulse_stride_offset: ess.reduce.unwrap.types.PulseStrideOffset,
E           keep_event_time_offset: ess.reduce.unwrap.types.KeepEventTimeOffset,
E           backend: <enum 'FrameUnwrapBackend'>,
E       ) -> ess.reduce.unwrap.types.WavelengthDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning

View job log here


FutureWarning: The 'numba' frame-unwrapping backend was requested, but Numba is unavailable or did not select a thread-safe threading layer. Falling back to the 'scipy' backend. This fallback is deprecated and will be an error in a future release. Select the SciPy backend explicitly with backend='scipy'.
In provider ess.reduce.unwrap.to_wavelength.detector_wavelength_data(
    detector_data: ess.reduce.nexus.types.RawDetector[ess.reduce.nexus.types.SampleRun],
    lookup: ess.reduce.unwrap.types.ErrorLimitedLookupTable[ess.reduce.nexus.types.SampleRun, scippnexus.nxdetector.NXdetector],
    ltotal: ess.reduce.unwrap.types.DetectorLtotal[ess.reduce.nexus.types.SampleRun],
    pulse_stride_offset: ess.reduce.unwrap.types.PulseStrideOffset,
    keep_event_time_offset: ess.reduce.unwrap.types.KeepEventTimeOffset,
    backend: <enum 'FrameUnwrapBackend'>,
) -> ess.reduce.unwrap.types.WavelengthDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f1051f17e00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_dream_999999_00020409.hdf')
detector_name = 'endcap_forward_detector'

    @pytest.mark.parametrize(
        "detector_name",
        [
            "endcap_backward_detector",
            "endcap_forward_detector",
            "high_resolution_detector",
            "mantle_detector",
            "sans_detector",
        ],
    )
    def test_can_compute_wavelength(
        workflow: sciline.Pipeline, coda_nexus_file_path: Path, detector_name: str
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(WavelengthDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/dream/dream_reduction_test.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/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-dream/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-dream/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/dask/utils.py:81: in apply
    return func(*args)
           ^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:577: in detector_wavelength_data
    _compute_wavelength_data(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:533: in _compute_wavelength_data
    out = _compute_wavelength_events(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:392: in _compute_wavelength_events
    inputs = _prepare_wavelength_interpolation_inputs(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:317: in _prepare_wavelength_interpolation_inputs
    interp = WavelengthInterpolator(
.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:130: in __init__
    self._interpolator = _get_interpolator_class(backend)(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

backend = <FrameUnwrapBackend.numba: 'numba'>

    def _get_interpolator_class(backend: FrameUnwrapBackend) -> type:
        if backend == FrameUnwrapBackend.scipy:
            from .interpolator_scipy import Interpolator
    
            return Interpolator
    
        try:
            from numba import get_num_threads, threading_layer
    
            # Initialize the threading layer now so we can inspect the selected backend
            # and fall back before interpolation.
            get_num_threads()
            if threading_layer() in {'omp', 'tbb'}:
                from .interpolator_numba import Interpolator
    
                return Interpolator
        except (ImportError, ValueError):
            pass
    
>       warnings.warn(
            "The 'numba' frame-unwrapping backend was requested, but Numba is "
            "unavailable or did not select a thread-safe threading layer. Falling "
            "back to the 'scipy' backend. This fallback is deprecated and will be "
            "an error in a future release. Select the SciPy backend explicitly with "
            "backend='scipy'.",
            FutureWarning,
            stacklevel=3,
        )
E       FutureWarning: The 'numba' frame-unwrapping backend was requested, but Numba is unavailable or did not select a thread-safe threading layer. Falling back to the 'scipy' backend. This fallback is deprecated and will be an error in a future release. Select the SciPy backend explicitly with backend='scipy'.
E       In provider ess.reduce.unwrap.to_wavelength.detector_wavelength_data(
E           detector_data: ess.reduce.nexus.types.RawDetector[ess.reduce.nexus.types.SampleRun],
E           lookup: ess.reduce.unwrap.types.ErrorLimitedLookupTable[ess.reduce.nexus.types.SampleRun, scippnexus.nxdetector.NXdetector],
E           ltotal: ess.reduce.unwrap.types.DetectorLtotal[ess.reduce.nexus.types.SampleRun],
E           pulse_stride_offset: ess.reduce.unwrap.types.PulseStrideOffset,
E           keep_event_time_offset: ess.reduce.unwrap.types.KeepEventTimeOffset,
E           backend: <enum 'FrameUnwrapBackend'>,
E       ) -> ess.reduce.unwrap.types.WavelengthDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-dream/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report