Skip to content
Snippets Groups Projects
Commit dd1fb004 authored by Nick Draper's avatar Nick Draper
Browse files

re #9627 Revert a change to use an interface that failed a unit test

parent b93674fe
No related branches found
No related tags found
No related merge requests found
......@@ -44,10 +44,10 @@ namespace Mantid
/// Initialise the properties
void PredictFractionalPeaks::init()
{
declareProperty(new WorkspaceProperty<IPeaksWorkspace> ("Peaks", "", Direction::Input),
declareProperty(new WorkspaceProperty<PeaksWorkspace> ("Peaks", "", Direction::Input),
"Workspace of Peaks with orientation matrix that indexed the peaks and instrument loaded");
declareProperty(new WorkspaceProperty<IPeaksWorkspace> ("FracPeaks", "", Direction::Output),
declareProperty(new WorkspaceProperty<PeaksWorkspace> ("FracPeaks", "", Direction::Output),
"Workspace of Peaks with peaks with fractional h,k, and/or l values");
declareProperty(new Kernel::ArrayProperty<double>(string("HOffset"),string("-.5,0, .5")),"Offset in the h direction");
......@@ -90,7 +90,7 @@ namespace Mantid
/// Run the algorithm
void PredictFractionalPeaks::exec()
{
IPeaksWorkspace_sptr Peaks=getProperty("Peaks");
PeaksWorkspace_sptr Peaks=getProperty("Peaks");
vector<double> hOffsets = getProperty("HOffset");
vector<double> kOffsets = getProperty("KOffset");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment