Ticket #8433 (closed: fixed)
Algorithms damage output workspace groups when execution fails
Reported by: | Arturs Bekasovs | Owned by: | Nick Draper |
---|---|---|---|
Priority: | major | Milestone: | Release 3.4 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Anders Markvardsen |
Description
If InputWorkspace and OutputWorkspace are both set to the same workspace group and an error occurs during algorithm execution - the workspace group will be emptied, with all its members popping out to the ADS. I would expect it to be left untouched if an algorithm did not succeed.
To reproduce:
- Save dead_times.nxs to your hard-drive and load it in MantidPlot.
- Load AutoTestData/MUSR00015189.nxs. Note that it gets loaded as a workspace group with two members.
- Open the dialog of ApplyDeadTimeCorr algorithm.
- Set both InputWorkspace and OutputWorkspace to MUSR00015189.
- Set DeadTimeTable to dead_times.
- Run the algorithm. Note that error is printed to the log-console, which means that the algorithm didn't succeed. However, MUSR00015189 is now empty and all it's members are ungrouped.
Attachments
Change History
Changed 7 years ago by Arturs Bekasovs
- Attachment dead_times.nxs added
comment:1 Changed 7 years ago by Arturs Bekasovs
- Milestone changed from Release 3.1 to Backlog
This is better to do at the beginning of the next iteration.
comment:2 Changed 7 years ago by Nick Draper
- Status changed from new to assigned
bulk move to assigned at the into of the triage step
comment:4 Changed 6 years ago by Nick Draper
- Owner changed from Anyone to Nick Draper
- Status changed from assigned to verify
- Resolution set to wontfix
Not possible with current design without copying the data. No users have reported problems with this.
comment:5 Changed 6 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester set to Anders Markvardsen
comment:7 Changed 6 years ago by Nick Draper
- Milestone changed from Backlog to Release 3.4
moved to r 3.4 as tickets are closed
Note: See
TracTickets for help on using
tickets.
Dead Time Table file