diff --git a/Framework/PythonInterface/plugins/functions/Bessel.py b/Framework/PythonInterface/plugins/functions/Bessel.py index de77de483979dab8c699381bcf808f69147642d0..e76526636643c6503f1ffedcad357e7d47e1f492 100644 --- a/Framework/PythonInterface/plugins/functions/Bessel.py +++ b/Framework/PythonInterface/plugins/functions/Bessel.py @@ -3,11 +3,8 @@ # Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI, # NScD Oak Ridge National Laboratory, European Spallation Source # & Institut Laue - Langevin - -""" -@author Hank Wu, RAL STFC -@date September 11, 2019 -""" +# SPDX - License - Identifier: GPL - 3.0 + +# pylint: disable=invalid-name, anomalous-backslash-in-string, attribute-defined-outside-init from mantid.api import IFunction1D, FunctionFactory import numpy as np diff --git a/Framework/PythonInterface/test/python/plugins/functions/BesselTest.py b/Framework/PythonInterface/test/python/plugins/functions/BesselTest.py index 764c7fef1c1e2e3c7f0f765655eb223209cd8215..33fca8e5f0d71f5e25e4b841128176115fe259c7 100755 --- a/Framework/PythonInterface/test/python/plugins/functions/BesselTest.py +++ b/Framework/PythonInterface/test/python/plugins/functions/BesselTest.py @@ -29,7 +29,7 @@ class BesselTest(unittest.TestCase): self.fail(msg.format(*[str(i) for i in (output, input, expected)])) def test_do_fit(self): - do_a_fit(np.arange(0.1, 16, 0.2), 'Bessel',guess=dict(A0=0.15, Phi=0.25, Nu=0.25),target=dict(A0=0.1, Phi=0.2, Nu=0.2), atol=0.01) + do_a_fit(np.arange(0.1, 16, 0.2), 'Bessel', guess=dict(A0=0.15, Phi=0.25, Nu=0.25), target=dict(A0=0.1, Phi=0.2, Nu=0.2), atol=0.01) if __name__ == '__main__': unittest.main()