From c7a284e062d41d58de6870ebd0b74718ba0089f0 Mon Sep 17 00:00:00 2001
From: Pete Peterson <petersonpf@ornl.gov>
Date: Mon, 12 Oct 2015 13:33:06 -0400
Subject: [PATCH] Getting rid of pylint warnings

---
 Framework/PythonInterface/plugins/algorithms/PDToPDFgetN.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Framework/PythonInterface/plugins/algorithms/PDToPDFgetN.py b/Framework/PythonInterface/plugins/algorithms/PDToPDFgetN.py
index c44a2d40929..db6819bf1d0 100644
--- a/Framework/PythonInterface/plugins/algorithms/PDToPDFgetN.py
+++ b/Framework/PythonInterface/plugins/algorithms/PDToPDFgetN.py
@@ -1,3 +1,4 @@
+#pylint: disable=no-init
 from mantid.simpleapi import *
 from mantid.api import *
 from mantid.kernel import Direction, FloatArrayProperty
@@ -7,6 +8,8 @@ COMPRESS_TOL_TOF = .01
 
 
 class PDToPDFgetN(DataProcessorAlgorithm):
+    _focusPos = {}
+    _iparmFile = None
 
     def category(self):
         return "Workflow\\Diffraction;PythonAlgorithms"
@@ -87,8 +90,6 @@ class PDToPDFgetN(DataProcessorAlgorithm):
         self._focusPos['Azimuthal'] = results[6]
 
     def PyExec(self):
-        filename = self.getProperty("Filename").value
-
         self._loadCharacterizations()
 
         wksp = self.getProperty("InputWorkspace").value
-- 
GitLab