MSlice used to import all the Mantid algorithms from simpleapi into its own mslice.cli namespace wrapped such that they can operate on MSlice workspaces (which are in turn wrappers around hidden Mantid workspaces).
However, recent versions of Mantid (6.7 and 6.8) have removed most of these wrappers such that scripts no longer work.
To Reproduce
Steps to reproduce the behavior:
Load a data file
Click the arrow next to Compose and select Scale. Click it and run the scaling operation.
Select the _scaled workspace and click Display
In the plot, go to File -> Generate Script to clipboard
Paste the script into the Mantid editor and run it
You'll get an:
AttributeError: module 'mslice.cli' has no attribute 'Scale'
Expected behavior
The script generated from the plot works.
MSlice Version (please complete the following information):
Describe the bug
MSlice used to import all the Mantid algorithms from simpleapi into its own
mslice.cli
namespace wrapped such that they can operate on MSlice workspaces (which are in turn wrappers around hidden Mantid workspaces).However, recent versions of Mantid (6.7 and 6.8) have removed most of these wrappers such that scripts no longer work.
To Reproduce Steps to reproduce the behavior:
Compose
and selectScale
. Click it and run the scaling operation._scaled
workspace and clickDisplay
File
->Generate Script to clipboard
You'll get an:
Expected behavior The script generated from the plot works.
MSlice Version (please complete the following information):