From d7c350f99d80c1e46b8e4d0bc238acb39b92fe0b Mon Sep 17 00:00:00 2001
From: Janik Zikovsky <zikovskyjl@ornl.gov>
Date: Tue, 8 Feb 2011 15:48:58 +0000
Subject: [PATCH] Refs #1525: EventWorkspaces will be saved as histograms for
 now; later they will be saved/loaded as full event lists.

---
 Code/Mantid/Framework/Nexus/src/SaveNexusProcessed.cpp    | 5 +++--
 Code/Mantid/Framework/Nexus/test/SaveNexusProcessedTest.h | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Code/Mantid/Framework/Nexus/src/SaveNexusProcessed.cpp b/Code/Mantid/Framework/Nexus/src/SaveNexusProcessed.cpp
index a985191abaa..ed58835ad44 100644
--- a/Code/Mantid/Framework/Nexus/src/SaveNexusProcessed.cpp
+++ b/Code/Mantid/Framework/Nexus/src/SaveNexusProcessed.cpp
@@ -222,9 +222,10 @@ namespace NeXus
     if (m_eventWorkspace)
     {
       //nexusFile->writeNexusProcessedDataEvent(m_eventWorkspace);
-      this->execEvent(nexusFile);
+//      this->execEvent(nexusFile);
+      g_log.warning() << "Saving EventWorkspace " << m_eventWorkspace->getName() << " as a histogram.\n";
     }
-    else
+//    else
     {
       nexusFile->writeNexusProcessedData2D(m_inputWorkspace,uniformSpectra,spec);
     }
diff --git a/Code/Mantid/Framework/Nexus/test/SaveNexusProcessedTest.h b/Code/Mantid/Framework/Nexus/test/SaveNexusProcessedTest.h
index b3e6ab70c86..afcb9bbcdfe 100644
--- a/Code/Mantid/Framework/Nexus/test/SaveNexusProcessedTest.h
+++ b/Code/Mantid/Framework/Nexus/test/SaveNexusProcessedTest.h
@@ -364,7 +364,7 @@ void testExec_EventWorkspace_DifferentTypes()
 }
 
 
-void testExec_LoadedEventWorkspace()
+void xtestExec_LoadedEventWorkspace()
 {
 
   //----- Now we re-load with precounting and compare memory use ----
-- 
GitLab