Skip to content

Commit

Permalink
Refs #4814. Fix system tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Feb 26, 2012
1 parent 671a2db commit 49c9ff8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ namespace Mantid
MatrixWorkspace_sptr outputWS(maskWS);
WorkspaceFactory::Instance().initializeFromParent(inputWS, outputWS, false);
outputWS->setTitle(inputWS->getTitle());
outputWS->getInstrument()->getParameterMap()->clearParametersByName("masked"); // turn off the mask bit

if (initialize) // initialize the mask as keep everything
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class MedianDetectorTestTest : public CxxTest::TestSuite
const size_t numberOfSpectra = outputMat->getNumberHistograms();
TS_ASSERT_EQUALS(numberOfSpectra, (int)Nhist);
const int numFailed = alg.getProperty("NumberOfFailures");
TS_ASSERT_EQUALS(numFailed, 83);
TS_ASSERT_EQUALS(numFailed, 82);
// the numbers below are threshold values that were found by trial and error running these tests
const int firstGoodSpec = 36;
const int lastGoodSpec = 95;
Expand Down

0 comments on commit 49c9ff8

Please sign in to comment.