diff --git a/Code/Mantid/DataHandling/src/LoadInstrumentFromRaw.cpp b/Code/Mantid/DataHandling/src/LoadInstrumentFromRaw.cpp index 7a2e2f594c82e7c84d030b93e57cfc26f087559b..0883a5adf1ba7f63b0d64fafc324ef2a9ef5256a 100644 --- a/Code/Mantid/DataHandling/src/LoadInstrumentFromRaw.cpp +++ b/Code/Mantid/DataHandling/src/LoadInstrumentFromRaw.cpp @@ -61,6 +61,10 @@ void LoadInstrumentFromRaw::exec() g_log.error("Unable to open file " + m_filename); throw Exception::FileError("Unable to open File:" , m_filename); } + + // Clear off any existing instrument for this workspace + localWorkspace->setInstrument(boost::shared_ptr<Instrument>(new Instrument)); + // Get reference to Instrument and set its name boost::shared_ptr<API::Instrument> instrument = localWorkspace->getBaseInstrument(); if (instrument.get() == 0)