Skip to content

Commit

Permalink
refs #6667 Minor changes
Browse files Browse the repository at this point in the history
use correct procedure to find non-run type file path
  • Loading branch information
abuts committed Jul 8, 2013
1 parent 2d4a934 commit d02604f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/scripts/Inelastic/DirectEnergyConversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def _do_mono(self, data_ws, monitor_ws, result_name, ei_guess,

if self.__det_cal_file_ws == None :
self.log('_do_mono: Loading detector info from file ' +str(self.det_cal_file),'debug')
file = common.find_file(self.det_cal_file)
file = FileFinder.getFullPath(self.det_cal_file)
LoadDetectorInfo(Workspace=result_name,DataFilename=file,RelocateDets= self.relocate_dets)
self.log('_do_mono: Loading detector info completed ','debug')
else:
Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/scripts/test/DirectEnergyConversionTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,5 @@ def test_do_white(self) :

# tReducet.di


if __name__=="__main__":
unittest.main()

0 comments on commit d02604f

Please sign in to comment.