Skip to content

Commit

Permalink
Resolve merge re #7072
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlPalmen committed Oct 21, 2013
2 parents 0f2ef8a + 81b5942 commit bf1e89b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 107 deletions.
3 changes: 0 additions & 3 deletions Code/Mantid/Framework/DataHandling/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ set ( SRC_FILES
src/LoadRawHelper.cpp
src/LoadRawSpectrum0.cpp
src/LoadSINQ.cpp
src/LoadSNSNexus.cpp
src/LoadSNSspec.cpp
src/LoadSPE.cpp
src/LoadSampleDetailsFromRaw.cpp
Expand Down Expand Up @@ -202,7 +201,6 @@ set ( INC_FILES
inc/MantidDataHandling/LoadRawHelper.h
inc/MantidDataHandling/LoadRawSpectrum0.h
inc/MantidDataHandling/LoadSINQ.h
inc/MantidDataHandling/LoadSNSNexus.h
inc/MantidDataHandling/LoadSNSspec.h
inc/MantidDataHandling/LoadSPE.h
inc/MantidDataHandling/LoadSampleDetailsFromRaw.h
Expand Down Expand Up @@ -259,7 +257,6 @@ set ( INC_FILES
)

set ( TEST_FILES
#LoadSNSNexusTest.h # TODO has no active tests in it
AppendGeometryToSNSNexusTest.h
ApplyGroupingFromMuonNexusTest.h
CompressEventsTest.h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ namespace Mantid
/// run LoadNexusProcessed
void runLoadNexusProcessed();

/// run LoadSNSNexus
void runLoadSNSNexus();
/// run LoadTOFRawNexus
void runLoadTOFRawNexus();
};
} // namespace DataHandling
} // namespace Mantid
Expand Down

This file was deleted.

10 changes: 5 additions & 5 deletions Code/Mantid/Framework/DataHandling/src/LoadNexus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ namespace Mantid
g_log.error("File " + m_filename + " is a currently unsupported type of NeXus file");
throw Exception::FileError("Unable to read File:" , m_filename);
}
runLoadSNSNexus();
runLoadTOFRawNexus();
}
return;
}
Expand Down Expand Up @@ -337,9 +337,9 @@ namespace Mantid
}
}

void LoadNexus::runLoadSNSNexus()
void LoadNexus::runLoadTOFRawNexus()
{
IAlgorithm_sptr loadNexusPro = createChildAlgorithm("LoadSNSNexus",0.,1.);
IAlgorithm_sptr loadNexusPro = createChildAlgorithm("LoadTOFRawNexus",0.,1.);
// Pass through the same input filename
loadNexusPro->setPropertyValue("Filename",m_filename);
// Set the workspace property
Expand All @@ -364,9 +364,9 @@ namespace Mantid
}
catch (std::runtime_error&)
{
g_log.error("Unable to successfully run LoadSNSNexus Child Algorithm");
g_log.error("Unable to successfully run LoadTOFRawNexus Child Algorithm");
}
if ( ! loadNexusPro->isExecuted() ) g_log.error("Unable to successfully run LoadSNSNexus Child Algorithm");
if ( ! loadNexusPro->isExecuted() ) g_log.error("Unable to successfully run LoadTOFRawNexus Child Algorithm");
// Get pointer to the workspace created
Workspace_sptr localWorkspace = loadNexusPro->getProperty(outputWorkspace);
setProperty(outputWorkspace,localWorkspace);
Expand Down
29 changes: 0 additions & 29 deletions Code/Mantid/Framework/DataHandling/src/LoadSNSNexus.cpp

This file was deleted.

0 comments on commit bf1e89b

Please sign in to comment.