Skip to content

Commit 7693713

Browse files
committed
Include detector name in the mcstas loader.
1 parent 49a415c commit 7693713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ess/nmx/mcstas/load.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def load_mcstas(
175175
weights=da,
176176
proton_charge=proton_charge,
177177
crystal_rotation=crystal_rotation,
178+
name=sc.scalar(detector_name),
178179
**coords,
179180
)
180181
)

0 commit comments

Comments
 (0)