Test passed, nothing to report
Test: nexusfiles-scipp|tbl|tbl_read_detector_data|timepix3_detector
AssertionError: assert np.int64(0) > 0
+ where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
+ where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
+ where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
+ where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
+ where size = <scipp.core.bins.Bins object at 0x7f47ae78df10>.size
+ where <scipp.core.bins.Bins object at 0x7f47ae78df10> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f47ae83c890>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00020203.hdf')
detector_name = 'timepix3_detector'
check_detector_events = <function _check_detector_events at 0x7f47b209aa20>
@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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
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) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
E + where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
E + where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
E + where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
E + where size = <scipp.core.bins.Bins object at 0x7f47ae78df10>.size
E + where <scipp.core.bins.Bins object at 0x7f47ae78df10> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
AssertionError: assert np.int64(0) > 0
+ where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
+ where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
+ where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
+ where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
+ where size = <scipp.core.bins.Bins object at 0x7f471e21a3f0>.size
+ where <scipp.core.bins.Bins object at 0x7f471e21a3f0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f471e397b90>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00020203.hdf')
detector_name = 'timepix3_detector'
check_detector_events = <function _check_detector_events at 0x7f4721abea20>
@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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
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) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
E + where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
E + where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
E + where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
E + where size = <scipp.core.bins.Bins object at 0x7f471e21a3f0>.size
E + where <scipp.core.bins.Bins object at 0x7f471e21a3f0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
AssertionError: assert np.int64(0) > 0
+ where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
+ where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
+ where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
+ where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
+ where size = <scipp.core.bins.Bins object at 0x7f28b95d4170>.size
+ where <scipp.core.bins.Bins object at 0x7f28b95d4170> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f28b95bd4f0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00020203.hdf')
detector_name = 'timepix3_detector'
check_detector_events = <function _check_detector_events at 0x7f28b992d300>
@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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
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) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
E + where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
E + where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
E + where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
E + where size = <scipp.core.bins.Bins object at 0x7f28b95d4170>.size
E + where <scipp.core.bins.Bins object at 0x7f28b95d4170> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
AssertionError: assert np.int64(0) > 0
+ where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
+ where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
+ where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
+ where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
+ where size = <scipp.core.bins.Bins object at 0x7f8e0c2703b0>.size
+ where <scipp.core.bins.Bins object at 0x7f8e0c2703b0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f8e15dfe270>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00020203.hdf')
detector_name = 'timepix3_detector'
check_detector_events = <function _check_detector_events at 0x7f8e1603d300>
@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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
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) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
E + where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
E + where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
E + where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
E + where size = <scipp.core.bins.Bins object at 0x7f8e0c2703b0>.size
E + where <scipp.core.bins.Bins object at 0x7f8e0c2703b0> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
AssertionError: assert np.int64(0) > 0
+ where np.int64(0) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
+ where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
+ where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
+ where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
+ where size = <scipp.core.bins.Bins object at 0x7ff0b7495910>.size
+ where <scipp.core.bins.Bins object at 0x7ff0b7495910> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7ff0b7338ad0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00020203.hdf')
detector_name = 'timepix3_detector'
check_detector_events = <function _check_detector_events at 0x7ff0b7e31300>
@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:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
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) = <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n.value
E + where <scipp.DataArray>\nDimensions: Sizes[]\nData:\n int64 <no unit> () 0\n\n = sum()
E + where sum = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n.sum
E + where <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n int64 <no unit> (event_time_zero) []\n\n = size()
E + where size = <scipp.core.bins.Bins object at 0x7ff0b7495910>.size
E + where <scipp.core.bins.Bins object at 0x7ff0b7495910> = <scipp.DataArray>\nDimensions: Sizes[event_time_zero:0, ]\nCoordinates:\n* event_time_zero datetime64 [ns] (event_time_zero) []\nData:\n DataArrayView <no unit> (event_time_zero) binned data: dim='event', content=DataArray(\n dims=(event: 0),\n data=float32[counts],\n coords={'event_time_offset':int32[ns], 'event_id':int32})\n\n.bins
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:25: AssertionError