Skip to content

Commit

Permalink
refs #9962 This should resolve MergeMDFiles side of the problem
Browse files Browse the repository at this point in the history
as MergeMDFiles was not calculating average signal/error for boxes.
Sliceviewer still have problem with the slider location
  • Loading branch information
abuts committed Aug 15, 2014
1 parent 20764c6 commit 931662f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/Mantid/Framework/MDAlgorithms/src/MergeMDFiles.cpp
Expand Up @@ -251,11 +251,13 @@ namespace MDAlgorithms
if(!box->isBox())continue;
// load all contributed events into current box;
this->loadEventsFromSubBoxes(boxes[ib]);

// calculate box averages e.g. signal, error and number of events in the box
box->refreshCache();
if(DiskBuf)
{
if(box->getDataInMemorySize()>0)
{ // data position has been already pre-calculated

box->getISaveable()->save();
box->clearDataFromMemory();
//Kernel::ISaveable *Saver = box->getISaveable();
Expand Down

0 comments on commit 931662f

Please sign in to comment.