None
Test: nexusfiles-scipp|bifrost|bifrost_read_detector_data|all_detectors
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00004475.hdf')
check_detector_events =
def test_bifrost_read_detector_data__all_detectors(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
detectors = sciline.compute_mapped(workflow, NeXusData[NXdetector, SampleRun])
assert not detectors.empty
for detector in detectors:
> check_detector_events(detector)
tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = DataGroup(sizes={}, keys=[
])
def _check_detector_events(da: sc.DataArray) -> None:
> assert "event_time_offset" in da.bins.coords
^^^^^^^^^^^^^^
E AttributeError: 'DataGroup' object has no attribute 'coords'
.tox/nexusfiles-scipp-bifrost/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:22: AttributeError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00004331.hdf')
check_detector_events =
def test_bifrost_read_detector_data__all_detectors(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
detectors = sciline.compute_mapped(workflow, NeXusData[NXdetector, SampleRun])
assert not detectors.empty
for detector in detectors:
> check_detector_events(detector)
tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = DataGroup(sizes={}, keys=[
])
def _check_detector_events(da: sc.DataArray) -> None:
> assert "event_time_offset" in da.bins.coords
^^^^^^^^^^^^^^
E AttributeError: 'DataGroup' object has no attribute 'coords'
.tox/nexusfiles-scipp-bifrost/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:22: AttributeError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00004187.hdf')
check_detector_events =
def test_bifrost_read_detector_data__all_detectors(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
detectors = sciline.compute_mapped(workflow, NeXusData[NXdetector, SampleRun])
assert not detectors.empty
for detector in detectors:
> check_detector_events(detector)
tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = DataGroup(sizes={}, keys=[
])
def _check_detector_events(da: sc.DataArray) -> None:
> assert "event_time_offset" in da.bins.coords
^^^^^^^^^^^^^^
E AttributeError: 'DataGroup' object has no attribute 'coords'
.tox/nexusfiles-scipp-bifrost/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:22: AttributeError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00004043.hdf')
check_detector_events =
def test_bifrost_read_detector_data__all_detectors(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
detectors = sciline.compute_mapped(workflow, NeXusData[NXdetector, SampleRun])
assert not detectors.empty
for detector in detectors:
> check_detector_events(detector)
tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = DataGroup(sizes={}, keys=[
])
def _check_detector_events(da: sc.DataArray) -> None:
> assert "event_time_offset" in da.bins.coords
^^^^^^^^^^^^^^
E AttributeError: 'DataGroup' object has no attribute 'coords'
.tox/nexusfiles-scipp-bifrost/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:22: AttributeError