Open GuiMacielPereira opened 9 months ago
RenameWorkspace
algorithm and change the name of the workspace to something weird) __MSL
and __MSLTMP
and suffix _HIDDEN
are not covered by the tests, so I did a visual test:
MAR21335_Ei60meV
__MSL
and _HIDDEN
are correctly added to ws names
Filename
as a normal string, whilst the original script before any changes passes this argument as a raw string. I don't think this makes any significant difference.mslice.cli
module does not support the Minus()
algorithm (But this is out of scope for this PR)Altered class to follow Mial's suggestions. As Mial is on his sabbatical, here is the full breakdown of the manual test to perform for someone unfamiliar with this PR:
Load MAR21335_Ei60meV
into mslice
On the Slice interface, click Display
These hidden workspaces should appear on the mantid ADS:
Go to the plot window, and click to generate script to clipboard
Open a new tab on the mantid editor, paste the script and run it to check it produces the same plot
Now go back to the mslice interface and click to subtract the ws with itself by some scaling factor:
A new hidden workspace should appear on the mantid ADS with the suffix _HIDDEN
Try the other workspace arithmetic operations and check the new naming convention
Try deleting a workspace in mslice and check it is successfully deleted in the mantid ADS
Summary
Description of work:
_subtracted
, I changed it to include the scaling factor of the background workspace to_minus_ssf_0.95
, as seen in:Question
To test:
WorkspaceNameAppender
and tell me if it's fine (maybe needs an initializer method?)workspaces.helperfunctions
), is it the best location or should I move somewhere else?Fixes #941 .