From 078b47a95db9d4ec6291507238a4aef358348c8e Mon Sep 17 00:00:00 2001 From: Alex Buts <Alex.Buts@stfc.ac.uk> Date: Mon, 14 Oct 2019 12:02:10 +0100 Subject: [PATCH] Re #26871 Typo in AbsorptionShapesTest --- scripts/Inelastic/Direct/DirectEnergyConversion.py | 4 ++-- scripts/test/AbsorptionShapesTest.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Inelastic/Direct/DirectEnergyConversion.py b/scripts/Inelastic/Direct/DirectEnergyConversion.py index 822ddbff1c7..e674471ab9c 100644 --- a/scripts/Inelastic/Direct/DirectEnergyConversion.py +++ b/scripts/Inelastic/Direct/DirectEnergyConversion.py @@ -1930,11 +1930,11 @@ class DirectEnergyConversion(object): # def do_preprocessing(self,ws,*argi): - """ stub for custom preprocessing function""" + """ stub for custom preprocessing function. Should be redefined in the reduction script.""" return ws def do_postprocessing(self,ws,*argi): - """ stub for custom postprocessing function""" + """ stub for custom postprocessing function. Should be redefined in the reduction script.""" return ws diff --git a/scripts/test/AbsorptionShapesTest.py b/scripts/test/AbsorptionShapesTest.py index 45408b6bc87..25c8acc4497 100644 --- a/scripts/test/AbsorptionShapesTest.py +++ b/scripts/test/AbsorptionShapesTest.py @@ -186,7 +186,7 @@ class AdsorbtionShapesTest(unittest.TestCase): rad = res['Radius'] self.assertEqual(rad,5) cen = res['Center'] - self.assertEqualcen(cen,[1,0,0]) + self.assertEqual(cen,[1,0,0]) ash.shape = {'Radius':3,'Center':[0.,0.,0.]} -- GitLab