Ticket #2757 (closed: fixed)
ISIS SANS reductions are being affect by past reductions
Reported by: | Steve Williams | Owned by: | Steve Williams |
---|---|---|---|
Priority: | critical | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #3015 | Tester: | Anders Markvardsen |
Description
From Richard Heenan: If a value in the gui box for transmission spectrum is entered manually, it seems to be ignored! – another bug! Eg try entering 1, then the transmissions should come out at 1.0, they don’t, but give the normal values.
The solution needs to check that these things are always true:
- After running the SANS GUI once and changing settings: all settings that were changed must be reflected in the workspace history of the new output workspace
- Everywhere the method workspaceExists(workspace) is used in the Python code under Code/Mantid/Scripts/SANS the user settings that affect workspace must be checked too (e.g. from it's Run object)
- All execute() methods in the Reduction class must be "const" in that they don't change the class's data
- As the execute() methods can't be exception proof all exceptions within them must raise to a finally block that removes the reducer object and all workspaces touched by that instance of the reducer object
- All workspaces produced by a SANS run (e.g. trans_can_2.0_14.0) should but documented somewhere accessible from the links under http://www.mantidproject.org/SANS#ISIS . At least the use and the names of the algroithms used to create them must be included. Some detail on the settings used in their creation would be helpful
Change History
comment:5 Changed 9 years ago by Steve Williams
The LoadRun steps, GetSampleGeom and GetOutputName execute() methods can't be const
comment:11 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 29 to Iteration 30
Accepted and assigned tickets moved at iteration 29 code freeze
comment:12 Changed 9 years ago by Steve Williams
In [13119]:
comment:13 Changed 9 years ago by Steve Williams
In [13573]:
comment:14 Changed 9 years ago by Steve Williams
- Status changed from accepted to verify
- Resolution set to fixed
- The transmission and other settings mentioned in the first point seem to be going through.
- On point 2 workspaceExists() is only being used as a check before DeleteWorkspace, which is OK as it doesn't allow old workspaces to servive into a new reduction
- Point 3 doesn't now need to be inforced as the reduction is copied to the varaible current_settings (in isis_reducer) before execution could change things
- Point 4 The highest level is in ISISCommandInterface.py and this has try: finally pairs around functions that call _reduce(). However, deleting partially complete workspaces isn't implemented, we'll wait for a request from the users.
- There is documentation for the workspaces in mantidproject.org/SANS_Flow_Diagram at the bottom of the http://www.mantidproject.org/SANS#ISIS section
comment:15 Changed 9 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester set to Anders Markvardsen
comment:17 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 3604
Note: See
TracTickets for help on using
tickets.