Skip to content

Commit

Permalink
pylint found an unused import, re #11749
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeMPouzols committed Jun 19, 2015
1 parent e92fe1a commit 7c8445e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pylint: disable=no-init,invalid-name
from mantid.kernel import *
from mantid.api import *
import mantid.simpleapi as sapi

import math

Expand Down Expand Up @@ -249,6 +248,8 @@ def _expectedPeaksInTOF(self, expectedPeaks, inWS, wsIndex):
simple user script to do what this function does would be
as follows:
import mantid.simpleapi as sapi
yVals = [1] * (len(expectedPeaks) - 1)
wsFrom = sapi.CreateWorkspace(UnitX='dSpacing', DataX=expectedPeaks, DataY=yVals,
ParentWorkspace=inWS)
Expand Down

0 comments on commit 7c8445e

Please sign in to comment.