Skip to content

Commit

Permalink
Refs #4474. Updating wiki docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Apr 26, 2012
1 parent 6df2600 commit cd0ee13
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Code/Mantid/Framework/Algorithms/src/SofQW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ void SofQW::createInputProperties(API::Algorithm & alg)
wsValidator->add<CommonBinsValidator>();
wsValidator->add<HistogramValidator>();
wsValidator->add<InstrumentValidator>();
alg.declareProperty(new WorkspaceProperty<>("InputWorkspace","",Direction::Input,wsValidator));
alg.declareProperty(new WorkspaceProperty<>("OutputWorkspace","",Direction::Output));

alg.declareProperty(new ArrayProperty<double>("QAxisBinning", boost::make_shared<RebinParamsValidator>()));
alg.declareProperty(new WorkspaceProperty<>("InputWorkspace","",Direction::Input,wsValidator),
"A Workspace2D with units of energy transfer.");
alg.declareProperty(new WorkspaceProperty<>("OutputWorkspace","",Direction::Output),
"A workspace in units of momentum transfer and energy transfer.");
alg.declareProperty(new ArrayProperty<double>("QAxisBinning", boost::make_shared<RebinParamsValidator>()),
"The binning parameters for the momentum transfer axis.");

std::vector<std::string> propOptions;
propOptions.push_back("Direct");
Expand Down

0 comments on commit cd0ee13

Please sign in to comment.