From cfb16648129a8bbdd77f95564b955a37632aa8c3 Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Tue, 2 Sep 2014 12:12:46 +0100 Subject: [PATCH] Reduced line lengths, fix a few pylint warnings Refs #9345 --- .../plugins/algorithms/WorkflowAlgorithms/JumpFit.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/JumpFit.py b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/JumpFit.py index fa1b06eb6874..eac83b7e2b43 100644 --- a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/JumpFit.py +++ b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/JumpFit.py @@ -107,14 +107,18 @@ def PyExec(self): if self._out_name is "": self._out_name = self._in_ws[:-10] + '_' + self._jump_function + 'fit' - Fit(Function=function, InputWorkspace=spectrum_ws, CreateOutput=True, Output=self._out_name, StartX=self._q_min, EndX=self._q_max) + Fit(Function=function, InputWorkspace=spectrum_ws, CreateOutput=True, Output=self._out_name, + StartX=self._q_min, EndX=self._q_max) fit_workspace = self._out_name + '_Workspace' # Populate sample logs CopyLogs(InputWorkspace=self._in_ws, OutputWorkspace=fit_workspace) - AddSampleLog(Workspace=fit_workspace, LogName="jump_function", LogType="String", LogText=self._jump_function) - AddSampleLog(Workspace=fit_workspace, LogName="q_min", LogType="Number", LogText=str(self._q_min)) - AddSampleLog(Workspace=fit_workspace, LogName="q_max", LogType="Number", LogText=str(self._q_max)) + AddSampleLog(Workspace=fit_workspace, LogName="jump_function", LogType="String", + LogText=self._jump_function) + AddSampleLog(Workspace=fit_workspace, LogName="q_min", LogType="Number", + LogText=str(self._q_min)) + AddSampleLog(Workspace=fit_workspace, LogName="q_max", LogType="Number", + LogText=str(self._q_max)) self._process_output(fit_workspace)