New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConjoinWorkspaces: validateInputs is not called for event workspaces #5564
Comments
@NickDraper (2012-04-30T14:15:46): @NickDraper (2012-08-10T12:45:12): @NickDraper (2012-10-28T11:42:52): @NickDraper (2013-01-28T09:23:33): @NickDraper (2013-04-29T09:50:06): @NickDraper (2013-07-26T13:59:10): @NickDraper (2014-02-14T11:07:57): |
This is the code you want to look for if (event_ws1 && event_ws2) {
// We do not need to check that binning is compatible, just that there is no
// overlap
// make sure we should bother checking
if (this->getProperty("CheckOverlapping")) {
this->checkForOverlap(*event_ws1, *event_ws2, false);
m_overlapChecked = true;
}
// Both are event workspaces. Use the special method
MatrixWorkspace_sptr output = this->execEvent();
// Copy the history from the original workspace
output->history().addHistory(ws1->getHistory());
// Delete the second input workspace from the ADS
AnalysisDataService::Instance().remove(getPropertyValue("InputWorkspace2"));
// Set the result workspace to the first input
setProperty("InputWorkspace1", output);
return;
}
// Check that the input workspaces meet the requirements for this algorithm
this->validateInputs(*ws1, *ws2);
|
This issue was originally TRAC 4717
Original Reporter: Russell Taylor
Meaning that the check that both workspaces come from the same instrument, and have the same units is done for Workspace2Ds but not for EventWorkspaces.
The text was updated successfully, but these errors were encountered: