Commit 73bb2d59 authored by Lynch, Vickie's avatar Lynch, Vickie
Browse files

Refs #22420 add lattice validator

parent 1f7fcbfb
......@@ -7,6 +7,7 @@
#include "MantidCrystal/PredictSatellitePeaks.h"
#include "MantidAPI/Run.h"
#include "MantidAPI/Sample.h"
#include "MantidAPI/OrientedLatticeValidator.h"
#include "MantidAPI/WorkspaceFactory.h"
#include "MantidDataObjects/PeaksWorkspace.h"
#include "MantidGeometry/Crystal/BasicHKLFilters.h"
......@@ -30,9 +31,10 @@ DECLARE_ALGORITHM(PredictSatellitePeaks)
/// Initialise the properties
void PredictSatellitePeaks::init() {
auto latticeValidator = boost::make_shared<OrientedLatticeValidator>();
declareProperty(
make_unique<WorkspaceProperty<PeaksWorkspace>>("Peaks", "",
Direction::Input),
Direction::Input, latticeValidator),
"Workspace of Peaks with orientation matrix that indexed the peaks and "
"instrument loaded");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment