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

GroupWorkspace algorithm can't group a Workspace and a Workspace group in Python #1780

Closed
martyngigg opened this issue Oct 1, 2009 · 1 comment
Labels
Low Priority Things that you don't ever want to be done.
Milestone

Comments

@martyngigg
Copy link
Member

In MantidPlot the 'Group' button can be used to group together a Workspace with an existing WorkspaceGroup. This doesn't work from Python since the actual Mantid GroupWorkspaces algorithm can only handle Workspaces and not mixture of Workspace and WorkspaceGroups.

It works from the GUI because the code in MantidPlot disassembles the group first and then feeds the names to the algorithm. Wouldn't it be better to have this code in Mantid?

Also, from Python calling GroupWorkspaces with 2 normal workspaces doesn't update the MantidWorkspace list in the GUI correctly.

Some test Python code:

LoadRaw('SANS2D00000992.raw','a')
LoadRaw('SANS2D00000993.raw','b')

GroupWorkspaces('MyGroup', 'a,b')

LoadRaw('SANS2D00000988.raw','c')
GroupWorkspaces('MyGroup', 'MyGroup,c')

@martyngigg
Copy link
Member Author

This issue was originally trac ticket 932

@martyngigg martyngigg added the Low Priority Things that you don't ever want to be done. label Jun 3, 2015
@martyngigg martyngigg added this to the Iteration 22 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Low Priority Things that you don't ever want to be done.
Projects
None yet
Development

No branches or pull requests

1 participant