Skip to content

Commit

Permalink
Re #11063 minor typo in sample reduction
Browse files Browse the repository at this point in the history
It does not run anyway, but worth making it right as somebody may decide to use it as a sample
  • Loading branch information
abuts committed Feb 25, 2015
1 parent bb9443d commit f21b8dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Code/Mantid/scripts/test/MariReduction.py
@@ -1,4 +1,7 @@
""" Sample MARI reduction scrip used in testing ReductionWrapper """
import os
os.environ["PATH"] =\
r"c:/Mantid/Code/builds/br_10881/bin/Release;"+os.environ["PATH"]

from Direct.ReductionWrapper import *
try:
Expand Down Expand Up @@ -47,7 +50,7 @@ def reduce(self,input_file=None,output_directory=None):
Overload only if custom reduction is needed
"""
ws = ReductionWrapper.reduce(input_file,output_directory)
ws = ReductionWrapper.reduce(self,input_file,output_directory)
#SaveNexus(ws,Filename = 'MARNewReduction.nxs')
return ws
#------------------------------------------------------------------------------------------------ #
Expand Down

0 comments on commit f21b8dd

Please sign in to comment.