Test passed, nothing to report
Test: nexusfiles-scipp|estia|can_compute_wavelength|
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-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7ffab0259c10>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_estia_999999_00020836.hdf')
def test_can_compute_wavelength(
workflow: sciline.Pipeline,
coda_nexus_file_path: pathlib.Path,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
> result = workflow.compute(WavelengthDetector[SampleRun])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/nexusfiles-scipp/estia/estia_reduction_test.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
return self.get(tp, **kwargs).compute(reporter=reporter)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/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-estia/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-estia/lib/python3.12/site-packages/dask/threaded.py:115: in get
results = get_async(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:547: in get_async
raise_exception(exc, tb)
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:351: in reraise
raise exc
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
result = task(data)
^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
return self.func(*new_argspec)
^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/utils.py:81: in apply
return func(*args)
^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
return self._func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:577: in detector_wavelength_data
_compute_wavelength_data(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:533: in _compute_wavelength_data
out = _compute_wavelength_events(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:392: in _compute_wavelength_events
inputs = _prepare_wavelength_interpolation_inputs(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:317: in _prepare_wavelength_interpolation_inputs
interp = WavelengthInterpolator(
.tox/nexusfiles-scipp-estia/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-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
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-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f37124b4a70>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_estia_999999_00020706.hdf')
def test_can_compute_wavelength(
workflow: sciline.Pipeline,
coda_nexus_file_path: pathlib.Path,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
> result = workflow.compute(WavelengthDetector[SampleRun])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/nexusfiles-scipp/estia/estia_reduction_test.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
return self.get(tp, **kwargs).compute(reporter=reporter)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/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-estia/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-estia/lib/python3.12/site-packages/dask/threaded.py:115: in get
results = get_async(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:547: in get_async
raise_exception(exc, tb)
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:351: in reraise
raise exc
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
result = task(data)
^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
return self.func(*new_argspec)
^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/utils.py:81: in apply
return func(*args)
^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
return self._func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:577: in detector_wavelength_data
_compute_wavelength_data(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:533: in _compute_wavelength_data
out = _compute_wavelength_events(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:392: in _compute_wavelength_events
inputs = _prepare_wavelength_interpolation_inputs(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:317: in _prepare_wavelength_interpolation_inputs
interp = WavelengthInterpolator(
.tox/nexusfiles-scipp-estia/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-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
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-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f5a6034f440>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_estia_999999_00020566.hdf')
def test_can_compute_wavelength(
workflow: sciline.Pipeline,
coda_nexus_file_path: pathlib.Path,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
> result = workflow.compute(WavelengthDetector[SampleRun])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/nexusfiles-scipp/estia/estia_reduction_test.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
return self.get(tp, **kwargs).compute(reporter=reporter)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/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-estia/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-estia/lib/python3.12/site-packages/dask/threaded.py:115: in get
results = get_async(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:547: in get_async
raise_exception(exc, tb)
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:351: in reraise
raise exc
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
result = task(data)
^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
return self.func(*new_argspec)
^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/utils.py:81: in apply
return func(*args)
^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
return self._func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:577: in detector_wavelength_data
_compute_wavelength_data(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:533: in _compute_wavelength_data
out = _compute_wavelength_events(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:392: in _compute_wavelength_events
inputs = _prepare_wavelength_interpolation_inputs(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:317: in _prepare_wavelength_interpolation_inputs
interp = WavelengthInterpolator(
.tox/nexusfiles-scipp-estia/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-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
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-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fd86bb867e0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_estia_999999_00020410.hdf')
def test_can_compute_wavelength(
workflow: sciline.Pipeline,
coda_nexus_file_path: pathlib.Path,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
> result = workflow.compute(WavelengthDetector[SampleRun])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/nexusfiles-scipp/estia/estia_reduction_test.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
return self.get(tp, **kwargs).compute(reporter=reporter)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/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-estia/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-estia/lib/python3.12/site-packages/dask/threaded.py:115: in get
results = get_async(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:547: in get_async
raise_exception(exc, tb)
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:351: in reraise
raise exc
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
result = task(data)
^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
return self.func(*new_argspec)
^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/dask/utils.py:81: in apply
return func(*args)
^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
return self._func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:577: in detector_wavelength_data
_compute_wavelength_data(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:533: in _compute_wavelength_data
out = _compute_wavelength_events(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:392: in _compute_wavelength_events
inputs = _prepare_wavelength_interpolation_inputs(
.tox/nexusfiles-scipp-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:317: in _prepare_wavelength_interpolation_inputs
interp = WavelengthInterpolator(
.tox/nexusfiles-scipp-estia/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-estia/lib/python3.12/site-packages/ess/reduce/unwrap/to_wavelength.py:66: FutureWarning