Skip to content

Commit 97cc94e

Browse files
Merge pull request #210 from scipp/fix-scattering-run-type
Do not use ess.reduce's ScatteringRunType
2 parents 3bb19a2 + 5c41f02 commit 97cc94e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ess/sans/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
NeXusMonitorName = reduce_t.NeXusName
2929
NeXusComponent = reduce_t.NeXusComponent
3030
SampleRun = reduce_t.SampleRun
31-
ScatteringRunType = reduce_t.ScatteringRunType
3231
Transmission = reduce_t.TransmissionMonitor
3332
TransmissionRun = reduce_t.TransmissionRun
3433

@@ -44,6 +43,8 @@
4443
TransmissionRun[SampleRun],
4544
TransmissionRun[BackgroundRun],
4645
)
46+
ScatteringRunType = TypeVar('ScatteringRunType', BackgroundRun, SampleRun)
47+
4748

4849
UncertaintyBroadcastMode = _UncertaintyBroadcastMode
4950

0 commit comments

Comments
 (0)