Ticket #4530 (closed: fixed)
Generate Python history script now shows error dialog
Reported by: | Peter Parker | Owned by: | Peter Parker |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Robert Whitley |
Description
To reproduce:
- Load a tosca file, for example TSC10685.raw. (This may well produce an error for other files, too.)
- Right-click the workspace in Mantid to show the history dialog.
- Try to use the "Generate Script" button.
The user will be presented with an error dialog, and the following will output to the log:
Error in execution of algorithm GeneratePythonScript: Unknown property search object LoadLogFiles
Change History
comment:3 Changed 9 years ago by Peter Parker
Refs #4530. Fix for GeneratePythonScript.
Handles case where non-default properties of the child algorithm to Load are unable to be found via getPointerToProperty.
Changeset: 9ac63a47158c058967fc768184eddf59e747e228
comment:4 Changed 9 years ago by Peter Parker
- Status changed from accepted to verify
- Resolution set to fixed
comment:5 Changed 9 years ago by Robert Whitley
- Status changed from verify to verifying
- Tester set to Robert Whitley
Note: See
TracTickets for help on using
tickets.
This seems to be a problem with Load in general, and not being able to call getPointerToProperty() on the algorithm, asking for any non-default properties of the child algorithm.
Will implement a fix to make sure this specific case is catered for within the GeneratePythonScript class.