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
67c4d8d2
Commit
67c4d8d2
authored
Jul 02, 2021
by
Savici, Andrei T
Committed by
Peterson, Peter
Jul 07, 2021
Browse files
Fix crash in ConvertToMD for invalidated goniometer
parent
9f5b5791
Changes
2
Hide whitespace changes
Inline
Side-by-side
Framework/MDAlgorithms/src/MDWSDescription.cpp
View file @
67c4d8d2
...
@@ -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
)
if
(
(
m_InWS
!=
nullptr
)
&&
(
m_InWS
->
run
().
getNumGoniometers
())
)
return
m_InWS
->
run
().
getGoniometer
().
isDefined
();
return
m_InWS
->
run
().
getGoniometer
().
isDefined
();
else
else
return
false
;
return
false
;
...
...
docs/source/release/v6.2.0/direct_geometry.rst
View file @
67c4d8d2
...
@@ -18,4 +18,20 @@ New Algorithms
...
@@ -18,4 +18,20 @@ New Algorithms
putting new features at the top of the section, followed by
putting new features at the top of the section, followed by
improvements, followed by bug fixes.
improvements, followed by bug fixes.
CrystalField
------------
Improvements
############
- Added documentation and warning messages in the :ref:`Crystal Field Python Interface` related to IntensityScaling
BugFixes
########
- A bug has been fixed in the plot methods for CrystalField and CrystalFieldMultiSite
- Fixed a bug in the :ref:`Crystal Field Python Interface` which prevented the application of IntensityScaling factors
- Peaks are (re)set upon rebuilding the single spectrum function as a multi-spectrum function
due to the physical properties. This re-setting peaks is needed to maintain the intended ties.
- A bug has been fixed in :ref:`ConvertToMD <algm-ConvertToMD>` that sometimes crashes Mantid when files are summed together.
:ref:`Release 6.2.0 <v6.2.0>`
:ref:`Release 6.2.0 <v6.2.0>`
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