1212from ess .reduce .nexus .types import (
1313 BackgroundRun ,
1414 Beamline ,
15- Choppers ,
1615 DetectorData ,
1716 EmptyBeamRun ,
1817 Filename ,
2625 NeXusName ,
2726 NeXusTransformation ,
2827 PreopenNeXusFile ,
28+ RawChoppers ,
2929 RunType ,
3030 SampleRun ,
3131 TimeInterval ,
@@ -556,7 +556,7 @@ def test_generic_nexus_workflow(preopen: bool) -> None:
556556def test_generic_nexus_workflow_load_choppers () -> None :
557557 wf = GenericNeXusWorkflow (run_types = [SampleRun ], monitor_types = [])
558558 wf [Filename [SampleRun ]] = data .bifrost_simulated_elastic ()
559- choppers = wf .compute (Choppers [SampleRun ])
559+ choppers = wf .compute (RawChoppers [SampleRun ])
560560
561561 assert choppers .keys () == {
562562 '005_PulseShapingChopper' ,
@@ -613,8 +613,8 @@ def test_generic_nexus_workflow_includes_only_given_run_and_monitor_types() -> N
613613 assert MonitorData [BackgroundRun , FrameMonitor0 ] not in graph
614614 assert MonitorData [BackgroundRun , FrameMonitor1 ] not in graph
615615 assert MonitorData [BackgroundRun , FrameMonitor2 ] not in graph
616- assert Choppers [SampleRun ] in graph
617- assert Choppers [BackgroundRun ] not in graph
616+ assert RawChoppers [SampleRun ] in graph
617+ assert RawChoppers [BackgroundRun ] not in graph
618618
619619 assert NeXusComponentLocationSpec [FrameMonitor0 , SampleRun ] in graph
620620 assert NeXusComponentLocationSpec [FrameMonitor1 , SampleRun ] in graph
@@ -655,8 +655,8 @@ def test_generic_nexus_workflow_includes_only_given_run_types() -> None:
655655 assert MonitorData [SampleRun , FrameMonitor1 ] not in graph
656656 assert MonitorData [SampleRun , FrameMonitor2 ] not in graph
657657 assert MonitorData [SampleRun , FrameMonitor0 ] not in graph
658- assert Choppers [EmptyBeamRun ] in graph
659- assert Choppers [SampleRun ] not in graph
658+ assert RawChoppers [EmptyBeamRun ] in graph
659+ assert RawChoppers [SampleRun ] not in graph
660660
661661 excluded_run_types = set (RunType .__constraints__ ) - {EmptyBeamRun }
662662 for node in graph :
@@ -681,8 +681,8 @@ def test_generic_nexus_workflow_includes_only_given_monitor_types() -> None:
681681 assert MonitorData [BackgroundRun , FrameMonitor1 ] in graph
682682 assert MonitorData [BackgroundRun , FrameMonitor2 ] not in graph
683683 assert MonitorData [BackgroundRun , FrameMonitor0 ] not in graph
684- assert Choppers [SampleRun ] in graph
685- assert Choppers [BackgroundRun ] in graph
684+ assert RawChoppers [SampleRun ] in graph
685+ assert RawChoppers [BackgroundRun ] in graph
686686
687687 excluded_monitor_types = set (MonitorType .__constraints__ ) - {
688688 FrameMonitor1 ,
0 commit comments