Skip to content
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

Algorithm's default ProcessGroups does not work with 2 inputs #5494

Closed
mantid-builder opened this issue Jan 25, 2012 · 1 comment
Closed
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: @jzikovsky

Original Owner: @jzikovsky

Refs http://trac.mantidproject.org/mantid/ticket/996, http://trac.mantidproject.org/mantid/ticket/812

If your algorithm does NOT inherit from PairedGroupAlgorithm, and gets these inputs:

Input1 : groupA
Input2 : groupB

It is processed like this:

Input1 : A1
Input2 : A1

then

Input1 : A2
Input2 : A2

For example, try IntegratePeaksMD with two groups.

  • Also, I expect that the code would die if one of the inputs were an Optional WorkspaceProperty.

Take the behavior of PairedGroupAlgorithm, generalize it to N input workspaces, and use it for default Algorithm behavior.

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 4647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant