Skip to content

Commit

Permalink
Fix port of IndirectDiffractionReducer.
Browse files Browse the repository at this point in the history
Refs #7469
  • Loading branch information
martyngigg committed Jul 23, 2013
1 parent cd299a5 commit d24e93d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _setup_steps(self):
def getStringProperty(workspace, property):
"""This function is used in the interface.
"""
inst = mtd[workspace].getInstrument()
inst = mantid.AnalysisDataService[workspace].getInstrument()
try:
prop = inst.getStringParameter(property)[0]
except IndexError: return ""
Expand Down

0 comments on commit d24e93d

Please sign in to comment.