Skip to content

Commit

Permalink
refs #6362 Enabled one previously failing test to see what happens
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Jan 23, 2013
1 parent 86b95e8 commit c126b1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/MDAlgorithms/src/SaveMD.cpp
Expand Up @@ -334,7 +334,8 @@ namespace MDAlgorithms
box_event_index[id*2+1] = nPoints;
// save for the first time
//if(!update && (box_event_index[id*2] != std::numeric_limits<uint64_t>::max()))mdBox->saveNexus(file);
if(!update && (nPoints != 0))mdBox->saveNexus(file);
if(!update && (nPoints != 0))
mdBox->saveNexus(file);
// set that it is on disk and clear the actual events to free up memory, saving occured earlier
if (MakeFileBacked) mdBox->clearDataFromMemory();

Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/MDAlgorithms/test/SaveMDTest.h
Expand Up @@ -51,9 +51,9 @@ class SaveMDTest : public CxxTest::TestSuite
do_test_exec(23, "SaveMDTest.nxs");
}

void xest_exec_noEvents()
void test_exec_noEvents()
{
//do_test_exec(0, "SaveMDTest_noEvents.nxs");
do_test_exec(0, "SaveMDTest_noEvents.nxs");
}

void test_MakeFileBacked()
Expand Down

0 comments on commit c126b1d

Please sign in to comment.