diff --git a/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst b/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst index d3fe378a17e34f69fdf54642da280ee1acd61756..f8a8798b14250a6c116e7968d1b83e077adeebb9 100644 --- a/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst +++ b/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst @@ -58,7 +58,7 @@ Usage .. testcode:: LoadFITS ws_name = 'FITSws' - FITSws = LoadFITS(Filename='FITS_small_01.fits', OutputWorkspace=ws_name) + ws = LoadFITS(Filename='FITS_small_01.fits', OutputWorkspace=ws_name) # A couple of standard FITS header entries bpp_log = 'BITPIX' @@ -74,7 +74,7 @@ Usage log1 = ws.getRun().getLogData(axis1_log) log2 = ws.getRun().getLogData(axis2_log) print "FITS image size: %d x %d pixels" % (log1, log2) - print "Number of spectra in the output workspace: %d" % FITSws.getNumberHistograms() + print "Number of spectra in the output workspace: %d" % ws.getNumberHistograms() except RuntimeError: print "Could not find the keywords '%s' and '%s' in this FITS file" % (axis1_log, axis2_log)