Open DannyHindson opened 2 years ago
The StoreInADS=False doesn't get saved in the workspace history so this may be a problem as well as the actual scripting
I've made a change to sort this out. Doesn't seem especially urgent to fix in 6.3 though - particularly because the code change seems a bit risky in that it changes the validation on workspace properties so that output workspace properties don't have to have a name. I'll put this through as a PR again main for 6.4 I think
Is it worth us opening this fix for main
this time?
I'm assuming the change is to store the history whenever it has a name? I'm also wondering if we start to break the rule that names only exist in the ADS. We currently generate the tmp name in the workspace property I think. Maybe we should generate the name in the workspace constructor as just the string of the memory address?
I'll roll this to 6.5S1.
If you take a workspace that has been generated by the ISIS Powder diffraction scripts and script the workspace history it doesn't run through properly (eg 98533-ResultD.zip). This is because of the following code from focus.py:
The algorithm calls gets scripted as follows:
The __TMP workspace doesn't exist