DMSC Integration Testing

Last updated: May 27, 2026 07:24:18

Test: nexusfiles-scipp|bifrost|bifrost_read_choppers|

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00004475.hdf')
check_chopper =

def test_bifrost_read_choppers(
workflow: sciline.Pipeline, coda_nexus_file_path: Path, check_chopper: Callable
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
choppers = workflow.compute(RawChoppers[SampleRun])

> assert len(choppers) == 6
E AssertionError: assert 12 == 6
E + where 12 = len(DataGroup(sizes={'time': 0, 'dim_0': 2}, keys=[\n 005_PulseShapingChopper: DataGroup(19, {'time': 0, 'dim_0': 2}),\n 006_PulseShapingChopper2: DataGroup(19, {'time': 0, 'dim_0': 2}),\n 019_FOC1: DataGroup(19, {'time': 0, 'dim_0': 2}),\n 048_FOC2: DataGroup(19, {'time': 0, 'dim_0': 2}),\n 095_BWC1: DataGroup(19, {'time': 0, 'dim_0': 2}),\n 096_BWC2: DataGroup(19, {'time': 0, 'dim_0': 2}),\n bandwidth_chopper_1: DataGroup(19, {'dim_0': 2}),\n bandwidth_chopper_2: DataGroup(19, {'dim_0': 2}),\n frame_overlap_chopper_1: DataGroup(19, {'dim_0': 2}),\n frame_overlap_chopper_2: DataGroup(19, {'dim_0': 2}),\n pulse_shaping_chopper_1: DataGroup(19, {'dim_0': 2}),\n pulse_shaping_chopper_2: DataGroup(19, {'dim_0': 2}),\n]))

tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:107: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00004331.hdf')
check_chopper =

def test_bifrost_read_choppers(
workflow: sciline.Pipeline, coda_nexus_file_path: Path, check_chopper: Callable
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
choppers = workflow.compute(RawChoppers[SampleRun])

> assert len(choppers) == 6
E AssertionError: assert 12 == 6
E + where 12 = len(DataGroup(sizes={'time': None, 'dim_0': 2}, keys=[\n 005_PulseShapingChopper: DataGroup(19, {'time': None, 'dim_0': 2}),\n 006_PulseShapingChopper2: DataGroup(19, {'time': None, 'dim_0': 2}),\n 019_FOC1: DataGroup(19, {'time': None, 'dim_0': 2}),\n 048_FOC2: DataGroup(19, {'time': None, 'dim_0': 2}),\n 095_BWC1: DataGroup(19, {'time': None, 'dim_0': 2}),\n 096_BWC2: DataGroup(19, {'time': None, 'dim_0': 2}),\n bandwidth_chopper_1: DataGroup(19, {'dim_0': 2}),\n bandwidth_chopper_2: DataGroup(19, {'dim_0': 2}),\n frame_overlap_chopper_1: DataGroup(19, {'dim_0': 2}),\n frame_overlap_chopper_2: DataGroup(19, {'dim_0': 2}),\n pulse_shaping_chopper_1: DataGroup(19, {'dim_0': 2}),\n pulse_shaping_chopper_2: DataGroup(19, {'dim_0': 2}),\n]))

tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:107: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00004187.hdf')
check_chopper =

def test_bifrost_read_choppers(
workflow: sciline.Pipeline, coda_nexus_file_path: Path, check_chopper: Callable
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
choppers = workflow.compute(RawChoppers[SampleRun])

> assert len(choppers) == 6
E AssertionError: assert 12 == 6
E + where 12 = len(DataGroup(sizes={'time': None, 'dim_0': 2}, keys=[\n 005_PulseShapingChopper: DataGroup(19, {'time': None, 'dim_0': 2}),\n 006_PulseShapingChopper2: DataGroup(19, {'time': None, 'dim_0': 2}),\n 019_FOC1: DataGroup(19, {'time': None, 'dim_0': 2}),\n 048_FOC2: DataGroup(19, {'time': None, 'dim_0': 2}),\n 095_BWC1: DataGroup(19, {'time': None, 'dim_0': 2}),\n 096_BWC2: DataGroup(19, {'time': None, 'dim_0': 2}),\n bandwidth_chopper_1: DataGroup(19, {'dim_0': 2}),\n bandwidth_chopper_2: DataGroup(19, {'dim_0': 2}),\n frame_overlap_chopper_1: DataGroup(19, {'dim_0': 2}),\n frame_overlap_chopper_2: DataGroup(19, {'dim_0': 2}),\n pulse_shaping_chopper_1: DataGroup(19, {'dim_0': 2}),\n pulse_shaping_chopper_2: DataGroup(19, {'dim_0': 2}),\n]))

tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:107: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00004043.hdf')
check_chopper =

def test_bifrost_read_choppers(
workflow: sciline.Pipeline, coda_nexus_file_path: Path, check_chopper: Callable
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
choppers = workflow.compute(RawChoppers[SampleRun])

> assert len(choppers) == 6
E AssertionError: assert 12 == 6
E + where 12 = len(DataGroup(sizes={'time': None, 'dim_0': 2}, keys=[\n 005_PulseShapingChopper: DataGroup(19, {'time': None, 'dim_0': 2}),\n 006_PulseShapingChopper2: DataGroup(19, {'time': None, 'dim_0': 2}),\n 019_FOC1: DataGroup(19, {'time': None, 'dim_0': 2}),\n 048_FOC2: DataGroup(19, {'time': None, 'dim_0': 2}),\n 095_BWC1: DataGroup(19, {'time': None, 'dim_0': 2}),\n 096_BWC2: DataGroup(19, {'time': None, 'dim_0': 2}),\n bandwidth_chopper_1: DataGroup(19, {'dim_0': 2}),\n bandwidth_chopper_2: DataGroup(19, {'dim_0': 2}),\n frame_overlap_chopper_1: DataGroup(19, {'dim_0': 2}),\n frame_overlap_chopper_2: DataGroup(19, {'dim_0': 2}),\n pulse_shaping_chopper_1: DataGroup(19, {'dim_0': 2}),\n pulse_shaping_chopper_2: DataGroup(19, {'dim_0': 2}),\n]))

tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:107: AssertionError

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00002616.hdf')
check_chopper =

def test_bifrost_read_choppers(
workflow: sciline.Pipeline, coda_nexus_file_path: Path, check_chopper: Callable
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
choppers = workflow.compute(RawChoppers[SampleRun])

assert len(choppers) == 6
for name, chopper in choppers.items():
> check_chopper(chopper, name=name)

tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

chopper = DataGroup(sizes={'time': 774, 'dim_0': 2}, keys=[
type: Chopper type single,
position: Variable({}),
trans...t: Variable({}),
slits: 1,
transformations: DataGroup(3, {}),
nexus_component_name: bandwidth_chopper_1,
])
name = 'bandwidth_chopper_1'

def _check_chopper(chopper: sc.DataGroup, name: str = "UNKNOWN") -> None:
assert "position" in chopper, f"Chopper '{name}' missing 'position'"
assert "rotation_speed" in chopper, f"Chopper '{name}' missing 'rotation_speed'"
> assert "rotation_speed_setpoint" in chopper, (
f"Chopper '{name}' missing 'rotation_speed_setpoint'"
)
E AssertionError: Chopper 'bandwidth_chopper_1' missing 'rotation_speed_setpoint'
E assert 'rotation_speed_setpoint' in DataGroup(sizes={'time': 774, 'dim_0': 2}, keys=[\n type: Chopper type single,\n position: Variable({}),\n transform: Variable({}),\n depends_on: TransformationChain(parent='/entry/instrument/bandwidth_chopper_1', value='transformations/bandwidth_chopper_1_t0_r', transformations=DataGroup(sizes={}, keys=[\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_r: Transform({}),\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_z: Transform({}),\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_x: Transform({}),\n])),\n radius: Variable({}),\n rotation_speed: DataArray({'time': 774}),\n slit_angle: Variable({}),\n slit_edges: Variable({'dim_0': 2}),\n slit_height: Variable({}),\n slits: 1,\n transformations: DataGroup(3, {}),\n nexus_component_name: bandwidth_chopper_1,\n])

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

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00002553.hdf')
check_chopper =

def test_bifrost_read_choppers(
workflow: sciline.Pipeline, coda_nexus_file_path: Path, check_chopper: Callable
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
choppers = workflow.compute(RawChoppers[SampleRun])

assert len(choppers) == 6
for name, chopper in choppers.items():
> check_chopper(chopper, name=name)

tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

chopper = DataGroup(sizes={'time': 640, 'dim_0': 2}, keys=[
type: Chopper type single,
position: Variable({}),
trans...t: Variable({}),
slits: 1,
transformations: DataGroup(3, {}),
nexus_component_name: bandwidth_chopper_1,
])
name = 'bandwidth_chopper_1'

def _check_chopper(chopper: sc.DataGroup, name: str = "UNKNOWN") -> None:
assert "position" in chopper, f"Chopper '{name}' missing 'position'"
assert "rotation_speed" in chopper, f"Chopper '{name}' missing 'rotation_speed'"
> assert "rotation_speed_setpoint" in chopper, (
f"Chopper '{name}' missing 'rotation_speed_setpoint'"
)
E AssertionError: Chopper 'bandwidth_chopper_1' missing 'rotation_speed_setpoint'
E assert 'rotation_speed_setpoint' in DataGroup(sizes={'time': 640, 'dim_0': 2}, keys=[\n type: Chopper type single,\n position: Variable({}),\n transform: Variable({}),\n depends_on: TransformationChain(parent='/entry/instrument/bandwidth_chopper_1', value='transformations/bandwidth_chopper_1_t0_r', transformations=DataGroup(sizes={}, keys=[\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_r: Transform({}),\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_z: Transform({}),\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_x: Transform({}),\n])),\n radius: Variable({}),\n rotation_speed: DataArray({'time': 640}),\n slit_angle: Variable({}),\n slit_edges: Variable({'dim_0': 2}),\n slit_height: Variable({}),\n slits: 1,\n transformations: DataGroup(3, {}),\n nexus_component_name: bandwidth_chopper_1,\n])

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

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00002544.hdf')
check_chopper =

def test_bifrost_read_choppers(
workflow: sciline.Pipeline, coda_nexus_file_path: Path, check_chopper: Callable
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
choppers = workflow.compute(RawChoppers[SampleRun])

assert len(choppers) == 6
for name, chopper in choppers.items():
> check_chopper(chopper, name=name)

tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

chopper = DataGroup(sizes={'time': 62, 'dim_0': 2}, keys=[
type: Chopper type single,
position: Variable({}),
transf...t: Variable({}),
slits: 1,
transformations: DataGroup(3, {}),
nexus_component_name: bandwidth_chopper_1,
])
name = 'bandwidth_chopper_1'

def _check_chopper(chopper: sc.DataGroup, name: str = "UNKNOWN") -> None:
assert "position" in chopper, f"Chopper '{name}' missing 'position'"
assert "rotation_speed" in chopper, f"Chopper '{name}' missing 'rotation_speed'"
> assert "rotation_speed_setpoint" in chopper, (
f"Chopper '{name}' missing 'rotation_speed_setpoint'"
)
E AssertionError: Chopper 'bandwidth_chopper_1' missing 'rotation_speed_setpoint'
E assert 'rotation_speed_setpoint' in DataGroup(sizes={'time': 62, 'dim_0': 2}, keys=[\n type: Chopper type single,\n position: Variable({}),\n transform: Variable({}),\n depends_on: TransformationChain(parent='/entry/instrument/bandwidth_chopper_1', value='transformations/bandwidth_chopper_1_t0_r', transformations=DataGroup(sizes={}, keys=[\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_r: Transform({}),\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_z: Transform({}),\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_x: Transform({}),\n])),\n radius: Variable({}),\n rotation_speed: DataArray({'time': 62}),\n slit_angle: Variable({}),\n slit_edges: Variable({'dim_0': 2}),\n slit_height: Variable({}),\n slits: 1,\n transformations: DataGroup(3, {}),\n nexus_component_name: bandwidth_chopper_1,\n])

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

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00002530.hdf')
check_chopper =

def test_bifrost_read_choppers(
workflow: sciline.Pipeline, coda_nexus_file_path: Path, check_chopper: Callable
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
choppers = workflow.compute(RawChoppers[SampleRun])

assert len(choppers) == 6
for name, chopper in choppers.items():
> check_chopper(chopper, name=name)

tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

chopper = DataGroup(sizes={'time': 24, 'dim_0': 2}, keys=[
type: Chopper type single,
position: Variable({}),
transf...t: Variable({}),
slits: 1,
transformations: DataGroup(3, {}),
nexus_component_name: bandwidth_chopper_1,
])
name = 'bandwidth_chopper_1'

def _check_chopper(chopper: sc.DataGroup, name: str = "UNKNOWN") -> None:
assert "position" in chopper, f"Chopper '{name}' missing 'position'"
assert "rotation_speed" in chopper, f"Chopper '{name}' missing 'rotation_speed'"
> assert "rotation_speed_setpoint" in chopper, (
f"Chopper '{name}' missing 'rotation_speed_setpoint'"
)
E AssertionError: Chopper 'bandwidth_chopper_1' missing 'rotation_speed_setpoint'
E assert 'rotation_speed_setpoint' in DataGroup(sizes={'time': 24, 'dim_0': 2}, keys=[\n type: Chopper type single,\n position: Variable({}),\n transform: Variable({}),\n depends_on: TransformationChain(parent='/entry/instrument/bandwidth_chopper_1', value='transformations/bandwidth_chopper_1_t0_r', transformations=DataGroup(sizes={}, keys=[\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_r: Transform({}),\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_z: Transform({}),\n /entry/instrument/bandwidth_chopper_1/transformations/bandwidth_chopper_1_t0_x: Transform({}),\n])),\n radius: Variable({}),\n rotation_speed: DataArray({'time': 24}),\n slit_angle: Variable({}),\n slit_edges: Variable({'dim_0': 2}),\n slit_height: Variable({}),\n slits: 1,\n transformations: DataGroup(3, {}),\n nexus_component_name: bandwidth_chopper_1,\n])

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

View job log here


workflow =
coda_nexus_file_path = PosixPath('/ess/data/coda/999999/raw/coda_bifrost_999999_00001523.hdf')
check_chopper =

def test_bifrost_read_choppers(
workflow: sciline.Pipeline, coda_nexus_file_path: Path, check_chopper: Callable
) -> None:
workflow[Filename[SampleRun]] = coda_nexus_file_path
choppers = workflow.compute(RawChoppers[SampleRun])

assert len(choppers) == 6
for name, chopper in choppers.items():
> check_chopper(chopper, name=name)

tests/nexusfiles-scipp/bifrost/bifrost_load_nexus_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

chopper = DataGroup(sizes={'time': None, 'dim_0': 2}, keys=[
type: Chopper type single,
position: Variable({}),
tran...ataArray({'time': 12286}),
transformations: DataGroup(3, {}),
nexus_component_name: 005_PulseShapingChopper,
])
name = '005_PulseShapingChopper'

def _check_chopper(chopper: sc.DataGroup, name: str = "UNKNOWN") -> None:
assert "position" in chopper, f"Chopper '{name}' missing 'position'"
assert "rotation_speed" in chopper, f"Chopper '{name}' missing 'rotation_speed'"
assert "rotation_speed_setpoint" in chopper, (
f"Chopper '{name}' missing 'rotation_speed_setpoint'"
)
assert "slit_edges" in chopper, f"Chopper '{name}' missing 'slit_edges'"
assert "delay" in chopper, f"Chopper '{name}' missing 'delay'"
> assert "beam_position" in chopper, f"Chopper '{name}' missing 'beam_position'"
E AssertionError: Chopper '005_PulseShapingChopper' missing 'beam_position'
E assert 'beam_position' in DataGroup(sizes={'time': None, 'dim_0': 2}, keys=[\n type: Chopper type single,\n position: Variable({}),\n transform: Variable({}),\n delay: DataArray({}),\n depends_on: TransformationChain(parent='/entry/instrument/005_PulseShapingChopper', value='/entry/instrument/005_PulseShapingChopper/transformations/PulseShapingChopper_r0', transformations=DataGroup(sizes={}, keys=[\n /entry/instrument/005_PulseShapingChopper/transformations/PulseShapingChopper_r0: Transform({}),\n /entry/instrument/005_PulseShapingChopper/transformations/PulseShapingChopper_t0_r: Transform({}),\n /entry/instrument/005_PulseShapingChopper/transformations/PulseShapingChopper_t0_t: Transform({}),\n])),\n experiment_delay: DataArray({'time': 0}),\n mechanical_delay: DataArray({'time': 0}),\n park_angle: DataArray({'time': 0}),\n pulse_delay: DataArray({'time': 0}),\n radius: Variable({}),\n rotation_speed: DataArray({'time': 879}),\n rotation_speed_setpoint: DataArray({'time': 879}),\n slit_angle: Variable({}),\n slit_edges: Variable({'dim_0': 2}),\n slit_height: Variable({}),\n slits: 1,\n top_dead_center: DataArray({'time': 12286}),\n transformations: DataGroup(3, {}),\n nexus_component_name: 005_PulseShapingChopper,\n])

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