From 5ebb5471a7e775c38d6d7b9cb6100b16622e8a05 Mon Sep 17 00:00:00 2001
From: Federico Montesino Pouzols <federico.montesino-pouzols@stfc.ac.uk>
Date: Thu, 26 Mar 2015 19:29:09 +0000
Subject: [PATCH] fix workspace obj name in doc test, re #10965

---
 Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst b/Code/Mantid/docs/source/algorithms/LoadFITS-v1.rst
index d3fe378a17e..f8a8798b142 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)
 
-- 
GitLab