Skip to content

Commit

Permalink
Update ChopEventFilters.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Apr 16, 2014
1 parent 6b231f8 commit 116965e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Code/Mantid/Framework/Algorithms/src/ChopEventFilters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,11 @@ void ChopEventFilters::initDocs()
*/
void ChopEventFilters::init()
{
// FIXME Use new workspace property in code.
auto inpwsprop = boost::make_shared<WorkspaceProperty<MatrixWorkspace> >("InputWorkspace",
"", Direction::Input);
declareProperty(inpwsprop, "Name of input event filter workspace to be processed.");
declareProperty(new WorkspaceProeprty<MatrixWorkspace>("InputWorkspace", "", Direction::Input),
"Name of input event filter workspace to be processed.");

auto outpwsprop = boost::make_shared<WorkspaceProperty<MatrixWorkspace> >("OutputWorkspace",
"", Direction::Output);
declareProperty(outpwsprop, "Name of the output event filter workspace as a result of processing.");
declareProperty(new WorkspaceProperty<MatrixWorkspace>("OutputWorkspace", "", Direction::Output),
"Name of the output event filter workspace as a result of processing.");

declareProperty("WorkspaceGroup", EMPTY_INT(), "Workspace group of the evnet filers to be processed.");

Expand Down

0 comments on commit 116965e

Please sign in to comment.