Skip to content

Commit

Permalink
refs #6667 Correct test if workspace provided to reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Jul 5, 2013
1 parent 4954400 commit 032aae0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/Mantid/scripts/Inelastic/DirectEnergyConversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ def _do_mono(self, data_ws, monitor_ws, result_name, ei_guess,
if self.relocate_dets:
self.log('_do_mono: Moving detectors to positions specified in cal file ','debug')
if str(self.det_cal_file) in mtd: # it is already workspace
self.__det_cal_file_ws = mtd[str(self.det_cal_file)]
if isinstance(self.det_cal_file,api.Workspace): # it is already workspace
self.__det_cal_file_ws = self.det_cal_file

if self.__det_cal_file_ws == None :
Expand Down

0 comments on commit 032aae0

Please sign in to comment.