DMSC Integration Testing

Last updated: September 25, 2026 08:04:50

Test: nexusfiles-scipp|freia|freia_read_detector_everything|multiblade_detector

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


Test passed, nothing to report

View job log here


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


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f06d45ae6f0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00021267.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f072bd296c0>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f0783eff170>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f0aea461940>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00021127.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f0b414b16c0>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f0b9986fa10>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f213dd61be0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020987.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f216d1b1580>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f219d1695d0>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f700f91dd90>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020917.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f703f4796c0>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f706f211c30>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f2566627740>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020897.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f25957ad6c0>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f25c5b1b5f0>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f249ec3c470>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020897.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f24cdd81580>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f24fe12b5f0>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7ff887bb7230>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020897.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7ff8b71bccc0>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7ff8e6db5d70>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f10f1cab0e0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020837.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f11215c8b80>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f115119d1f0>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f32a2d06570>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020707.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f32d2de0cc0>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f330277ab90>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4421012210>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020567.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f44511ccb80>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f4480cb6a90>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7efd3132cf20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020411.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7efd609a0b80>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7efd907be590>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fb165f08980>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020271.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7fb193f7ad40>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7fb1c52f4050>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f44ac1d5940>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020198.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f44dcdf1c60>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f450abe87b0>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fae5cd0bb00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020198.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7fae8d949c60>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7faebbe5ac90>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fcb68780b90>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020198.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7fcb96622d40>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7fcbc79c1910>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4a71fe0110>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020198.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f4aa06aeca0>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f4ad1ae21d0>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError

View job log here


scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
In provider ess.reduce.nexus.workflow.get_calibrated_detector(
    detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    *,
    transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
    offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
    bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f46a9587cb0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_freia_999999_00020198.hdf')
detector_name = 'multiblade_detector'
check_everything_events = <function _check_everything_events at 0x7f46d7416ca0>

    @pytest.mark.parametrize("detector_name", ["multiblade_detector"])
    def test_freia_read_detector_everything(
        workflow: sciline.Pipeline,
        coda_nexus_file_path: Path,
        detector_name: str,
        check_everything_events: Callable,
    ) -> None:
        workflow[Filename[SampleRun]] = coda_nexus_file_path
        workflow[NeXusDetectorName] = detector_name
    
>       result = workflow.compute(RawDetector[SampleRun])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/nexusfiles-scipp/freia/freia_load_nexus_test.py:94: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/pipeline.py:191: in compute
    return self.get(tp, **kwargs).compute(reporter=reporter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/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-freia/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-freia/lib/python3.12/site-packages/dask/threaded.py:115: in get
    results = get_async(
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:547: in get_async
    raise_exception(exc, tb)
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:351: in reraise
    raise exc
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/local.py:256: in execute_task
    result = task(data)
             ^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/_task_spec.py:768: in __call__
    return self.func(*new_argspec)
           ^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/dask/utils.py:79: in apply
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/sciline/_provider.py:145: in __call__
    return self._func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/ess/reduce/nexus/workflow.py:438: in get_calibrated_detector
    da = da.fold(dim="detector_number", sizes=sizes)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/shape.py:302: in fold
    return _call_cpp_func(_cpp.fold, x, dim, dims, new_shape)  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

func = <built-in method fold of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1 object at 0x7f47087c5f50>
args = (<scipp.DataArray>
Dimensions: Sizes[detector_number:65536, ]
Coordinates:
* detector_number             int32        ...<no unit>  (detector_number)  [1, 2, ..., 65535, 65536]

, 'detector_number', ['strip', 'blade', 'wire'], [64, 48, 32])
kwargs = {}

    def call_func(
        func: Callable[_P, _R],
        *args: _P.args,
        **kwargs: _P.kwargs,
    ) -> _R | DataGroup[Any]:
        out = kwargs.pop('out', None)
        if any(isinstance(x, DataGroup) for x in itertools.chain(args, kwargs.values())):
            if out is not None:
                raise ValueError(
                    "`out` argument is not supported for DataGroup operations."
                )
            return data_group_nary(func, *args, **kwargs)
        if out is None:
>           return func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
E           scipp._scipp.core.DimensionError: Sizes (strip: 64, blade: 48, wire: 32) provided to `fold` not compatible with length '65536' of dimension 'detector_number' being folded.
E           In provider ess.reduce.nexus.workflow.get_calibrated_detector(
E               detector: ess.reduce.nexus.types.NeXusComponent[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               *,
E               transform: ess.reduce.nexus.types.NeXusTransformation[scippnexus.nxdetector.NXdetector, ess.reduce.nexus.types.SampleRun],
E               offset: ess.reduce.nexus.types.DetectorPositionOffset[ess.reduce.nexus.types.SampleRun],
E               bank_sizes: ess.reduce.nexus.types.DetectorBankSizes,,
E           ) -> ess.reduce.nexus.types.EmptyDetector[ess.reduce.nexus.types.SampleRun]

.tox/nexusfiles-scipp-freia/lib/python3.12/site-packages/scipp/core/_cpp_wrapper_util.py:27: DimensionError