Skip to content

Commit

Permalink
Refs #10190 Remove the empty loading
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonPiccardoSelg committed Jul 6, 2015
1 parent 3d7a714 commit 62a1247
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Code/Mantid/scripts/SANS/ISISCommandInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,10 +983,10 @@ def DisplayMask(mask_worksp=None):

counts_data = '__DisplayMasked_tempory_wksp'
Integration(InputWorkspace=mask_worksp,OutputWorkspace= counts_data)

else:
instrument.load_empty(mask_worksp)
instrument.set_up_for_run('emptyInstrument')
msg = 'Cannot display the mask without a sample workspace'
_printMessage(msg, log = True, no_console=False)
return

ReductionSingleton().mask.display(mask_worksp, ReductionSingleton(), counts_data)
if counts_data:
Expand Down

0 comments on commit 62a1247

Please sign in to comment.