Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/9481_stop_reduction_if_m…
Browse files Browse the repository at this point in the history
…ask_file_not_found'
  • Loading branch information
jawrainey committed Jun 5, 2014
2 parents e744125 + c4c6edd commit 9faa5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/scripts/SANS/isis_reduction_steps.py
Expand Up @@ -931,7 +931,7 @@ def execute(self, reducer, workspace):
mask_detectors_with_masking_ws(workspace, mask_ws_name)
DeleteWorkspace(Workspace=mask_ws_name)
except:
_issueWarning("Invalid input for mask file. Path = %s.\nReason = %s." % (mask_file, traceback.format_exc()))
raise RuntimeError("Invalid input for mask file. Path = %s." % mask_file)

if len(self.spec_list)>0:
MaskDetectors(Workspace=workspace, SpectraList = self.spec_list)
Expand Down

0 comments on commit 9faa5b7

Please sign in to comment.