Skip to content

Commit

Permalink
refs #10332 Allow different spelling for eFixed
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Oct 13, 2014
1 parent f36f3ad commit c58c25b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -191,7 +191,7 @@ namespace Mantid
// a direct mode instrument can be unchanged but incident energy can be different.
// It is cheap operation so we should always replace incident energy on the target workspace
bool hasEi= InWS2D->run().hasProperty("Ei");
bool hasEfix=InWS2D->run().hasProperty("eFixed");
bool hasEfix=InWS2D->run().hasProperty("eFixed") || InWS2D->run().hasProperty("Efixed");
if (hasEi||hasEfix)
{

Expand Down
Expand Up @@ -137,6 +137,7 @@ class ConvertToMDMinMaxLocalTest : public CxxTest::TestSuite
Mantid::API::FrameworkManager::Instance();
ConvertToMDMinMaxLocal alg;
Mantid::API::MatrixWorkspace_sptr ws=MakeWorkspace(-2.5,0.05,true,0,5);

WorkspaceCreationHelper::storeWS(WSName,ws);

TS_ASSERT_THROWS_NOTHING( alg.initialize() )
Expand Down

0 comments on commit c58c25b

Please sign in to comment.