Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
73bb2d59
Commit
73bb2d59
authored
Aug 30, 2018
by
Lynch, Vickie
Browse files
Refs #22420 add lattice validator
parent
1f7fcbfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/Crystal/src/PredictSatellitePeaks.cpp
View file @
73bb2d59
...
...
@@ -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"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment