Test passed, nothing to report
Test: nexusfiles-scipp|tbl|tbl_read_detector_data|orca_detector
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f87babd9eb0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00019228.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f87bdbd3b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3759d7e960>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00019097.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f375d6bbb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fbc5e7aab10>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018957.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7fbc732cbb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3d7c192c00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018817.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f3d7fb07b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fbc8793c530>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018677.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7fbc8b1ffb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:2048, y_pixel_offset:2048, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fc577f0c6b0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018333.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7fc57b1c3b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f71d5507c80>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018333.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f71d88cbb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fcd5371fe90>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018333.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7fcd569e3b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f4d5d92b0b0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018253.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f4d60cb3b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f2bb2773bf0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00018123.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f2bb5ddbb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f792521be00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017983.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f79287bfb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f3e40cb4620>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017746.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f3e43eabb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fc91546ac00>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017658.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7fc9186bbb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fd7e137a5d0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017548.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7fd7e48b3b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fdadec6a2a0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017398.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7fdae20a7b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f8792d326c0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017258.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f87962c7b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f77e8246cf0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00017118.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f77f08e3b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f199f743b60>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016978.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f19a28b3b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fdda1d831d0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016708.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7fdda4f9bb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f8d40b89b20>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016558.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f8d4404fb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f5a47946ff0>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016428.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f5a4ad97b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f7e9c9e8f50>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016278.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f7ea3a8fb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7f0222aa5220>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00016138.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7f0225cb3b00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
assert 0 > 0 + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size .tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError
Full output
workflow = <sciline.pipeline.Pipeline object at 0x7fa42ba1a720>
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_tbl_999999_00015998.hdf')
check_detector_histogram = <function _check_detector_histogram at 0x7fa42ebdfb00>
def test_tbl_read_detector_data__orca_detector(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
check_detector_histogram: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusDetectorName] = "orca_detector"
result = workflow.compute(NeXusData[NXdetector, SampleRun])
> check_detector_histogram(result)
tests/nexusfiles-scipp/tbl/tbl_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
da = <scipp.DataArray>
Dimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]
Coordinates:
* time ...s] (time) []
Data:
int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []
def _check_detector_histogram(da: sc.DataArray) -> None:
assert "time" in da.dims
assert da.ndim > 1
> assert da.size > 0
E assert 0 > 0
E + where 0 = <scipp.DataArray>\nDimensions: Sizes[time:0, x_pixel_offset:4096, y_pixel_offset:4096, ]\nCoordinates:\n* time datetime64 [ns] (time) []\nData:\n int32 [dimensionless] (time, x_pixel_offset, y_pixel_offset) []\n\n.size
.tox/nexusfiles-scipp-tbl/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:31: AssertionError