When generating the history for a workspace and copying it to a script the script does not contain the import of mantid.simpleapi that the script will require to run. when importing the script into mantid it is less of an issue because the script editor will ask if you want to add it to the top, but ideally it should include the imports needed to run.
When generating the history for a workspace and copying it to a script the script does not contain the import of
mantid.simpleapi
that the script will require to run. when importing the script into mantid it is less of an issue because the script editor will ask if you want to add it to the top, but ideally it should include the imports needed to run.