Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
02c673e4
Commit
02c673e4
authored
Jul 06, 2021
by
Savici, Andrei T
Committed by
Peterson, Peter
Jul 07, 2021
Browse files
Update Framework/MDAlgorithms/src/MDWSDescription.cpp
Co-authored-by:
Pete Peterson
<
petersonpf@ornl.gov
>
parent
67c4d8d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/MDAlgorithms/src/MDWSDescription.cpp
View file @
02c673e4
...
@@ -122,7 +122,7 @@ void MDWSDescription::buildFromMatrixWS(const API::MatrixWorkspace_sptr &pWS, co
...
@@ -122,7 +122,7 @@ void MDWSDescription::buildFromMatrixWS(const API::MatrixWorkspace_sptr &pWS, co
void
MDWSDescription
::
setWS
(
API
::
MatrixWorkspace_sptr
otherMatrixWS
)
{
m_InWS
=
std
::
move
(
otherMatrixWS
);
}
void
MDWSDescription
::
setWS
(
API
::
MatrixWorkspace_sptr
otherMatrixWS
)
{
m_InWS
=
std
::
move
(
otherMatrixWS
);
}
/// Method checks if input workspace has defined goniometer
/// Method checks if input workspace has defined goniometer
bool
MDWSDescription
::
hasGoniometer
()
const
{
bool
MDWSDescription
::
hasGoniometer
()
const
{
if
((
m_InWS
!=
nullptr
)
&&
(
m_InWS
->
run
().
getNumGoniometers
()))
if
((
m_InWS
!=
nullptr
)
&&
(
m_InWS
->
run
().
getNumGoniometers
()
>
0
))
return
m_InWS
->
run
().
getGoniometer
().
isDefined
();
return
m_InWS
->
run
().
getGoniometer
().
isDefined
();
else
else
return
false
;
return
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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