Skip to content
Snippets Groups Projects
Commit 05553ad3 authored by Michael Reuter's avatar Michael Reuter
Browse files

Merge remote branch 'origin/feature/9760_not_warnings'

parents a897b6fb 942f3cd0
No related merge requests found
......@@ -273,13 +273,9 @@ namespace Mantid
if (m_Convertor->getUnitConversionHelper().isUnitConverted())
{
if(dynamic_cast<DataObjects::EventWorkspace *>(m_InWS2D.get()))
if( !dynamic_cast<DataObjects::EventWorkspace *>(m_InWS2D.get()))
{
g_log.warning()<<"Bin boundaries retrieved from event workspace are ignored by ConvertToMD transformation so the resolution estimates obtained from these boundaries are incorrect\n";
}
else
{
g_log.information()<<" ConvertToMD converts input workspace units, but the bin boundaries are copied from the first workspace spectra. The resolution estimates can be incorrect if unit conversion depends on spectra number\n";
g_log.information()<<" ConvertToMD converts input workspace units, but the bin boundaries are copied from the first workspace spectra. The resolution estimates can be incorrect if unit conversion depends on spectra number.\n";
UnitsConversionHelper &unitConv = m_Convertor->getUnitConversionHelper();
unitConv.updateConversion(spectra_index);
......
......@@ -111,11 +111,11 @@ std::vector<double> MDWSTransform::getTransfMatrix(MDEvents::MDWSDescription &Ta
if( !(powderMode||has_lattice))
{
std::string inWsName = TargWSDescription.getWSName();
// warn about 3D case without lattice
g_Log.warning()<<
" Can not obtain transformation matrix from the input workspace: "<<inWsName<<
// notice about 3D case without lattice
g_Log.notice()<<
"Can not obtain transformation matrix from the input workspace: "<<inWsName<<
" as no oriented lattice has been defined. \n"
" Will use unit transformation matrix\n";
"Will use unit transformation matrix.\n";
}
// set the frame ID to the values, requested by properties
CnvrtToMD::TargetFrame CoordFrameID(FrameID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment