Skip to content

Commit

Permalink
Re #10137. Fixing indentation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Aug 21, 2014
1 parent d456e2d commit 7c7f3ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -3,13 +3,13 @@
class SavePlot1D(mantid.api.PythonAlgorithm):

def category(self):
""" Category
"""
""" Category
"""
return "Utility;PythonAlgorithms"

def name(self):
""" Algorithm name
"""
""" Algorithm name
"""
return "SavePlot1D"

def summary(self):
Expand Down
Expand Up @@ -5,7 +5,7 @@ class SavePlot1DTest(unittest.TestCase):
def makeWs(self):
mantid.simpleapi.CreateWorkspace(OutputWorkspace='test1',DataX='1,2,3,4,5,1,2,3,4,5',DataY='1,2,3,4,2,3,4,5',DataE='1,2,3,4,2,3,4,5',NSpec='2',UnitX='TOF',Distribution='1',YUnitlabel="S(q)")
mantid.simpleapi.CreateWorkspace(OutputWorkspace='test2',DataX='1,2,3,4,5,1,2,3,4,5',DataY='1,2,3,4,2,3,4,5',DataE='1,2,3,4,2,3,4,5',NSpec='2',
UnitX='Momentum',VerticalAxisUnit='TOF',VerticalAxisValues='1,2',Distribution='1',YUnitLabel='E',WorkspaceTitle='x')
UnitX='Momentum',VerticalAxisUnit='TOF',VerticalAxisValues='1,2',Distribution='1',YUnitLabel='E',WorkspaceTitle='x')
mantid.simpleapi.GroupWorkspaces("test1,test2",OutputWorkspace="group")
self.plotfile=os.path.join(mantid.config.getString('defaultsave.directory'),'plot.png')

Expand Down

0 comments on commit 7c7f3ce

Please sign in to comment.