Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
dd1fb004
Commit
dd1fb004
authored
10 years ago
by
Nick Draper
Browse files
Options
Downloads
Patches
Plain Diff
re #9627 Revert a change to use an interface that failed a unit test
parent
b93674fe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/Framework/Crystal/src/PredictFractionalPeaks.cpp
+3
-3
3 additions, 3 deletions
Code/Mantid/Framework/Crystal/src/PredictFractionalPeaks.cpp
with
3 additions
and
3 deletions
Code/Mantid/Framework/Crystal/src/PredictFractionalPeaks.cpp
+
3
−
3
View file @
dd1fb004
...
...
@@ -44,10 +44,10 @@ namespace Mantid
/// Initialise the properties
void
PredictFractionalPeaks
::
init
()
{
declareProperty
(
new
WorkspaceProperty
<
I
PeaksWorkspace
>
(
"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
<
I
PeaksWorkspace
>
(
"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
()
{
I
PeaksWorkspace_sptr
Peaks
=
getProperty
(
"Peaks"
);
PeaksWorkspace_sptr
Peaks
=
getProperty
(
"Peaks"
);
vector
<
double
>
hOffsets
=
getProperty
(
"HOffset"
);
vector
<
double
>
kOffsets
=
getProperty
(
"KOffset"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment