workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00004624.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Test: nexusfiles-scipp|magic|magic_read_detector_data|detector_a
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00004470.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00004326.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00004182.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00004047.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00003903.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00003768.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00003633.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00003498.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00003363.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00003228.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00003084.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002940.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002805.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002638.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002620.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002548.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002548.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002534.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002485.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002476.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002394.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002274.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002148.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00002031.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001914.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001797.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001752.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001752.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001680.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001563.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001527.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001518.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001518.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001518.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001509.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001446.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001320.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001203.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00001086.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00000969.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00000861.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00000744.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00000690.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00000609.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00000465.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00000330.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_magic_999999_00000186.hdf')
detector_name = 'detector_a'
check_detector_events =
@pytest.mark.parametrize("detector_name", DETECTOR_NAMES)
def test_magic_read_detector_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
detector_name: str,
check_detector_events: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = detector_name
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_events(result)
tests/nexusfiles-scipp/magic/magic_load_nexus_test.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da =
Dimensions: Sizes[event_time_zero:0, ]
Coordinates:
* event_time_zero datetime64 ... dims=(event: 0),
data=float32[counts],
coords={'event_time_offset':int32[ns], 'event_id':int32})
def _check_detector_events(da: sc.DataArray) -> None:
assert "event_time_offset" in da.bins.coords
assert "event_id" in da.bins.coords
assert "event_time_zero" in da.coords
> assert da.bins.size().sum().value > 0
E AssertionError: assert np.int64(0) > 0
E + where np.int64(0) =
E + where
E + where sum =
E + where
E + where size =
E + where
.tox/nexusfiles-scipp-magic/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError