Closed rosswhitfield closed 8 years ago
I tried the following:
Load(Filename='CNCS_7860', OutputWorkspace='CNCS_7860_event')
ConvertToMD(InputWorkspace='CNCS_7860_event', QDimensions='Q3D', dEAnalysisMode='Elastic', QConversionScales='HKL', OutputWorkspace='b')
Then from the MantidPlot GUI I try to create another MD workspace, with a different name. Sometimes it works, sometimes it crashes. It depends on the name of the output workspace
This is not a MD specific issue. Another way to produce it:
CreateEmptyTableWorkspace
with any name for the workspaceAdd
gui/dialogAttempt to free invalid pointer
The problem doesn't exist at d1be85cb95a75b9ad7b3b0ae4255e861e773499b but does exist at 1e56170f874b7d5b1ff5d58e66d89e77c8d6ed0f therefore was introduced with #16967
To reproduce:
mdws = LoadMD('MAPS_MDEW.nxs')
Plus
Result is:
MD algorithms work fine e.g.
PlusMD
It looks like MD workspaces are being included in the list of possible InputWorkspaces when they shouldn't be.
@AndreiSavici and @VickieLynch can confirm the problem.
cc: @raquelalvarezbanos @FedeMPouzols @martyngigg as you were also involved in the pull request