ReflectometryISISCreateTransmission creates hidden workspaces if run as a child algorithm #39041
Labels
Bug
Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)
ISIS Team: LSS
Issue and pull requests managed by the LSS subteam at ISIS
Reflectometry
Issues and pull requests related to reflectometry
Describe the bug
If ran as a child algorithm without an lvalue,
ReflectometryISISCreateTransmission
creates a hidden workspace in the ADS.For example, ensuring
Show Invisible Workspaces
is selected in workbench settings:ReflectometryISISCreateTransmission(InputRuns='POLREF32130', StoreInADS=False)
Observe a hidden workspace created in the ADS.
I don't think this is the correct behaviour. Child algorithms are routinely those called from other algorithms not via the simpleapi. You'd expect to just be able to be concerned with the scope of the return value, not be concerned about hidden ADS workspaces.
Expected behavior
If the algorithm is run as a child algorithm, no workspaces to be stored in the ADS.
Screenshots
Platform/Version (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: