Ticket #1175 (closed: fixed)
Delete WorkspaceGroup when it becomes empty
Reported by: | Roman Tolchenov | Owned by: | Sofia Antony |
---|---|---|---|
Priority: | major | Milestone: | Iteration 25 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Whitty |
Description
Change History
comment:1 Changed 10 years ago by Nick Draper
- Owner set to Sofia Antony
- Status changed from new to assigned
comment:2 Changed 10 years ago by Sofia Antony
- Status changed from assigned to accepted
- Component set to Mantid
comment:4 Changed 10 years ago by Sofia Antony
- Status changed from accepted to verify
- Resolution set to fixed
comment:5 Changed 10 years ago by Michael Whitty
- Status changed from verify to verifying
- Tester set to Michael Whitty
comment:6 Changed 10 years ago by Michael Whitty
- Status changed from verifying to reopened
- Resolution fixed deleted
Works in cases where workspaces are deleted by user interface, but not when they're deleted through python calls it seems.
Example python script to replicate:
LoadRaw('irs21360.raw', '1') LoadRaw('irs21360.raw', '2') LoadRaw('irs21360.raw', '3') GroupWorkspaces('grp','1,2,3') mtd.deleteWorkspace('1') mtd.deleteWorkspace('2') mtd.deleteWorkspace('3')
This leaves an empty WorkspaceGroup in the Workspaces docked widget.
comment:9 Changed 10 years ago by Sofia Antony
- Status changed from accepted to verify
- Resolution set to fixed
comment:11 Changed 10 years ago by Michael Whitty
- Status changed from verifying to closed
in [7174] this is working. workspace group gets deleted when it has no items left.
comment:12 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 2022
Note: See
TracTickets for help on using
tickets.