From fb9e1d0f1bbf3d55d45d131f801dc3aa3f95bfda Mon Sep 17 00:00:00 2001
From: Mathieu Doucet <doucetm@ornl.gov>
Date: Sat, 24 Jul 2010 03:38:42 +0000
Subject: [PATCH] Fixed another problem. Re #1421

---
 Code/Mantid/PythonAPI/scripts/SANS/SANSReduction.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/Mantid/PythonAPI/scripts/SANS/SANSReduction.py b/Code/Mantid/PythonAPI/scripts/SANS/SANSReduction.py
index d8d6745103b..6d3a6f5d222 100644
--- a/Code/Mantid/PythonAPI/scripts/SANS/SANSReduction.py
+++ b/Code/Mantid/PythonAPI/scripts/SANS/SANSReduction.py
@@ -271,7 +271,7 @@ def LOQ():
     global INSTRUMENT, INSTR_NAME, MONITORSPECTRUM, TRANS_WAV1, TRANS_WAV2, TRANS_WAV1_FULL, TRANS_WAV2_FULL
     INSTRUMENT = SANSInsts.instrument_factory("LOQ")
     #TODO remove all instances of INSTR_NAME
-    INSTR_NAME = SANSInsts.getCurInst().name
+    INSTR_NAME = INSTRUMENT.name
 
     MONITORSPECTRUM = 2
     TRANS_WAV1_FULL = TRANS_WAV1 = 2.2
-- 
GitLab