Skip to content
Snippets Groups Projects
Commit 97b3ba83 authored by Nick Draper's avatar Nick Draper Committed by GitHub
Browse files

Merge pull request #19895 from mantidproject/19866_setdetscale_replace_topaz

SetDetScale unit test :: replace topaz peaks file
parents 9bd5abb9 99a4df10
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ from mantid.api import * ...@@ -9,7 +9,7 @@ from mantid.api import *
class SetDetScaleTest(unittest.TestCase): class SetDetScaleTest(unittest.TestCase):
def testScaleDetectors(self): def testScaleDetectors(self):
w = LoadIsawPeaks('TOPAZ_3007.peaks') w = LoadNexusProcessed('TOPAZ_3007.peaks.nxs')
x = w.getInstrument().getNumberParameter("detScale17")[0] x = w.getInstrument().getNumberParameter("detScale17")[0]
y = w.getInstrument().getNumberParameter("detScale49")[0] y = w.getInstrument().getNumberParameter("detScale49")[0]
self.assertEqual(x, 1.18898) self.assertEqual(x, 1.18898)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment