DMSC Integration Testing

Last updated: March 23, 2026 07:04:33

Test: nexusfiles-scipp|odin|odin_read_monitor_data|beam_monitor_2

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00023344.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00023204.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00023064.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022924.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022776.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022636.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022463.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022316.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022176.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00022036.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021889.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021756.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021476.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021336.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021196.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00021063.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020923.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020783.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020731.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020731.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020724.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020584.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020444.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020304.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020156.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00020016.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019883.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019738.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019598.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_odin_999999_00019458.hdf')
monitor_name = 'beam_monitor_2'
check_monitor_data =

@pytest.mark.parametrize(
"monitor_name", ["beam_monitor_1", "beam_monitor_2", "beam_monitor_3"]
)
def test_odin_read_monitor_data(
workflow: sciline.Pipeline,
coda_nexus_file_path: Path,
monitor_name: str,
check_monitor_data: Callable,
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
workflow[NeXusName[FrameMonitor0]] = monitor_name

monitor = workflow.compute(RawMonitor[SampleRun, FrameMonitor0])

> check_monitor_data(monitor)

tests/nexusfiles-scipp/odin/odin_load_nexus_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

da =
Dimensions: Sizes[time:0, frame_time:7000, ]
Coordinates:
* frame_time int32 ...4 [ns] (time) []
Data:
float64 [au] (time, frame_time) [] []



def _check_monitor_data(da: sc.DataArray) -> None:
if da.bins is not None:
assert da.dims == ("event_time_zero",)
assert "event_time_offset" in da.bins.coords
assert da.bins.size().sum().value > 0
else:
assert set(da.dims) == {"time", "frame_time"}
assert "time" in da.coords
assert "frame_time" in da.coords
> assert da.size > 0
E assert 0 > 0
E + where 0 = \nDimensions: Sizes[time:0, frame_time:7000, ]\nCoordinates:\n* frame_time int32 [µs] (frame_time) [0, 0, ..., 0, 0]\n* position vector3 [m] () (0, 0, -2)\n* time datetime64 [ns] (time) []\nData:\n float64 [au] (time, frame_time) [] []\n\n.size

.tox/nexusfiles-scipp-odin/lib/python3.12/site-packages/dmsc_nightly/testing/nexusfiles/validation_fixtures.py:43: AssertionError