mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
209 stars 122 forks source link

Workspace history copy script does not import mantid.simpleapi #34428

Closed Harrietbrown closed 1 year ago

Harrietbrown commented 1 year ago

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.

AnthonyLim23 commented 1 year ago

workspace history script missing import mantid.simpleapi

MohamedAlmaki commented 1 year ago

This is resolved in #34438 right? @Harrietbrown

Harrietbrown commented 1 year ago

You are correct. Fixed by #34438