Commit 67c4d8d2 authored by Savici, Andrei T's avatar Savici, Andrei T Committed by Peterson, Peter
Browse files

Fix crash in ConvertToMD for invalidated goniometer

parent 9f5b5791
......@@ -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); }
/// Method checks if input workspace has defined goniometer
bool MDWSDescription::hasGoniometer() const {
if (m_InWS)
if ((m_InWS != nullptr) && (m_InWS->run().getNumGoniometers()))
return m_InWS->run().getGoniometer().isDefined();
else
return false;
......
......@@ -18,4 +18,20 @@ New Algorithms
putting new features at the top of the section, followed by
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>`
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