Skip to content

Commit

Permalink
Changed output property name. Refs #6526.
Browse files Browse the repository at this point in the history
The original name contained 'Workspace'.  simpleapi.py treats any output
property containing 'Workspace' as workspace.
  • Loading branch information
wdzhou committed Oct 30, 2013
1 parent d8eabeb commit d80b773
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Algorithms/src/FilterEvents.cpp
Expand Up @@ -91,7 +91,7 @@ namespace Algorithms

declareProperty("OutputWorkspaceIndexedFrom1", false, "If selected, the minimum output workspace is indexed from 1 and continuous. ");

declareProperty("NumberOutputWorkspace", 0, "Number of output output workspace splitted. ", Direction::Output);
declareProperty("NumberOutputWS", 0, "Number of output output workspace splitted. ", Direction::Output);

return;
}
Expand Down Expand Up @@ -338,7 +338,7 @@ namespace Algorithms
}
} // ENDFOR

setProperty("NumberOutputWorkspace", numoutputws);
setProperty("NumberOutputWS", numoutputws);

return;
}
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Algorithms/test/FilterEventsTest.h
Expand Up @@ -117,7 +117,7 @@ class FilterEventsTest : public CxxTest::TestSuite
TS_ASSERT(filter.isExecuted());

// 4. Get output
int numsplittedws = filter.getProperty("NumberOutputWorkspace");
int numsplittedws = filter.getProperty("NumberOutputWS");
TS_ASSERT_EQUALS(numsplittedws, 4);

// 4.1 Workspace group 0
Expand Down Expand Up @@ -202,7 +202,7 @@ class FilterEventsTest : public CxxTest::TestSuite
TS_ASSERT(filter.isExecuted());

// Get output
int numsplittedws = filter.getProperty("NumberOutputWorkspace");
int numsplittedws = filter.getProperty("NumberOutputWS");
TS_ASSERT_EQUALS(numsplittedws, 3);

// 4.1 Workspace group 0
Expand Down

0 comments on commit d80b773

Please sign in to comment.