workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00004627.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Test: nexusfiles-scipp|tbl|tbl_read_detector_data|timepix3_detector
workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00004473.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00004329.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00004185.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00004050.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00003906.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00003771.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00003627.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00003492.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00003366.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00003222.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00003078.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002943.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002799.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002641.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002623.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002551.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002551.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002515.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002479.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002479.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002397.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002268.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002151.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00002034.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001917.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001800.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001746.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001746.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001683.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001566.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001521.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001521.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001521.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001521.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001512.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001440.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001323.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001206.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/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_tbl_999999_00001089.hdf')
detector_name = 'timepix3_detector'
check_detector_events =
@pytest.mark.parametrize(
"detector_name",
[
"he3_detector_bank0",
"he3_detector_bank1",
"multiblade_detector",
"ngem_detector",
"timepix3_detector",
],
)
def test_tbl_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/tbl/tbl_load_nexus_test.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError