Add workspace in Function(Q) QENS Fitting not finding correct files #38827
Labels
Bug
Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)
Indirect/Inelastic
Issues and pull requests related to indirect or inelastic
ISIS Team: Spectroscopy
Issue and pull requests managed by the Spectroscopy subteam at ISIS
Reported By User
Issues that were found or highlighted by a user/scientist
Original reporter: Sanghamitra Mukhopadhyay, ISIS
Describe the bug
The interface Function(Q) has the Add Workspace function. However this is restricted to files with names ending with
*_Result
. It cannot find files that have been saved usingSave Project
. The workflow that generates the files to be used creates a group called*_Results
with a single workspace called*_Result
. The Save function creates a single workspace with name*_Results
. This then cannot be found as it has the extra s that the Add Workspace function does not recognise.To Reproduce
Navigate to
Interfaces -> Inelastic -> QENS Fitting -> Function(Q)
Click Add Workspace and see what files are available.
Expected behavior
Users should be able to access files they have saved in Mantid (including through Save Project) and use them in the interfaces they are intended for.
Platform/Version (please complete the following information):
Additional context
It looks like the functionality to do this was introduced in v6.11 (see #37657 for more details). This looks to be an edge case where a group workspace that contains only a single workspace is being saved as a single workspace with the group name rather than the individual workspace name.
The text was updated successfully, but these errors were encountered: