Skip to content

Commit

Permalink
Refs #11655 Log information about ragged cropping behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Jeffery committed Apr 30, 2015
1 parent 4ba793a commit db891d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Code/Mantid/Framework/Algorithms/src/CropWorkspace.cpp
Expand Up @@ -83,6 +83,10 @@ void CropWorkspace::exec() {
m_histogram = m_inputWorkspace->isHistogramData();
// Check for common boundaries in input workspace
m_commonBoundaries = WorkspaceHelpers::commonBoundaries(m_inputWorkspace);
if (!m_commonBoundaries)
g_log.information("InputWorkspace has varying bin boundaries. Bins will not"
" be modified, but the Y and E values for any bins "
"outside XMin and XMax will be set to 0.");

// Retrieve and validate the input properties
this->checkProperties();
Expand Down

0 comments on commit db891d7

Please sign in to comment.