Skip to content

Commit

Permalink
Set default monitor names for nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Feb 4, 2025
1 parent 45a4b1c commit 5ccb701
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ess/dream/io/nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@

import sciline

from ess.reduce.nexus.types import DetectorBankSizes
from ess.powder.types import BunkerMonitor, CaveMonitor
from ess.reduce.nexus.types import DetectorBankSizes, NeXusName
from ess.reduce.nexus.workflow import GenericNeXusWorkflow

DETECTOR_BANK_SIZES = {
Expand Down Expand Up @@ -51,4 +52,6 @@ def LoadNeXusWorkflow() -> sciline.Pipeline:
"""
wf = GenericNeXusWorkflow()
wf[DetectorBankSizes] = DETECTOR_BANK_SIZES
wf[NeXusName[BunkerMonitor]] = "monitor_bunker"
wf[NeXusName[CaveMonitor]] = "monitor_cave"
return wf

0 comments on commit 5ccb701

Please sign in to comment.