File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1515
1616import sciline
1717
18- from ess .reduce .nexus .types import DetectorBankSizes
18+ from ess .powder .types import BunkerMonitor , CaveMonitor
19+ from ess .reduce .nexus .types import DetectorBankSizes , NeXusName
1920from ess .reduce .nexus .workflow import GenericNeXusWorkflow
2021
2122DETECTOR_BANK_SIZES = {
@@ -51,4 +52,6 @@ def LoadNeXusWorkflow() -> sciline.Pipeline:
5152 """
5253 wf = GenericNeXusWorkflow ()
5354 wf [DetectorBankSizes ] = DETECTOR_BANK_SIZES
55+ wf [NeXusName [BunkerMonitor ]] = "monitor_bunker"
56+ wf [NeXusName [CaveMonitor ]] = "monitor_cave"
5457 return wf
Original file line number Diff line number Diff line change 2121# 1 TypeVars used to parametrize the generic parts of the workflow
2222
2323BackgroundRun = reduce_t .BackgroundRun
24+ BunkerMonitor = reduce_t .Monitor2
2425CalibratedDetector = reduce_t .CalibratedDetector
2526CalibratedMonitor = reduce_t .CalibratedMonitor
2627DetectorData = reduce_t .DetectorData
4041DetectorBankSizes = reduce_t .DetectorBankSizes
4142
4243RunType = TypeVar ("RunType" , SampleRun , VanadiumRun )
43- # Include Monitor2 because a single constraint is not allowed.
44- # We will eventually have more than one...
45- MonitorType = TypeVar ("MonitorType" , CaveMonitor , reduce_t .Monitor2 )
44+ MonitorType = TypeVar ("MonitorType" , CaveMonitor , BunkerMonitor )
4645
4746
4847# 2 Workflow parameters
You can’t perform that action at this time.
0 commit comments