diff --git a/scripts/Inelastic/Direct/DirectEnergyConversion.py b/scripts/Inelastic/Direct/DirectEnergyConversion.py index 822ddbff1c7036fdeff233b5e4883a91458ca008..e674471ab9c091d259edc796448793e920e5aa4a 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 45408b6bc878b1f56b369909f0aa122b1eb2e9a4..25c8acc4497d7ef1813ba5f4ecee030e0fe1682b 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.]}