Calling child algorithms with workspace groups doesn't populate output workspace property #38473
Labels
Investigation
A task to investigate options for future work
ISIS Team: Core
Issue and pull requests managed by the Core subteam at ISIS
If you run an algorithm on a workspace using the algorithm manager then it is not possible to retrieve the output from the "OutputWorkspace" property, it is instead put into the ADS:
However, if the above is run as a child algorithm, then you can retrieve the output directly from the "OutputWorkspace" property:
This makes it easy to retrieve outputs without having to interact with the ADS when calling algorithms from within other algorithms.
If an algorithm is run as a child against a workspace group, though, then the output always seems to be stored in the ADS and cannot be retrieved from the "OutputWorkspace" property:
If an algorithm is being run as a child then, regardless of whether it's been passed a single workspace or a workspace group, I think ideally it should return it's output via the "OutputWorkspace" property. Among other things, this would prevent unexpected behaviour when running algorithms as a child with a workspace group.
I've marked this as an investigation for now as I think we probably still need to determine if this is a bug or a conscious design decision (maybe due to technical obstacles?).
The text was updated successfully, but these errors were encountered: