Skip to content

Commit bf3edaa

Browse files
committed
Remove unnecessary helper.
1 parent a143668 commit bf3edaa

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/loader_test.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,6 @@
3030
)
3131

3232

33-
def check_scalar_properties_mcstas_2(dg: NMXRawEventCountsDataGroup):
34-
"""Test helper for NMXData loaded from McStas 2.
35-
36-
Expected numbers are hard-coded based on the sample file.
37-
"""
38-
assert_identical(dg['crystal_rotation'], sc.vector([20, 0, 90], unit='deg'))
39-
assert_identical(dg['sample_position'], sc.vector(value=[0, 0, 0], unit='m'))
40-
assert_identical(
41-
dg['source_position'], sc.vector(value=[-0.53123, 0.0, -157.405], unit='m')
42-
)
43-
assert dg['sample_name'] == sc.scalar("sampleMantid")
44-
45-
4633
def check_nmxdata_properties(
4734
dg: NMXRawEventCountsDataGroup, fast_axis, slow_axis
4835
) -> None:

0 commit comments

Comments
 (0)