Access node outputs when not connected to downstream node?

The execution graph, eg, returned by workflow, wf, contains all the nodes that were run.
It also contains outputs from those nodes. However, for one node, I have three outputs defined but only two outputs go on as inputs to another node. When looking at the execution graph outputs for that node, I see the two outputs that go on as inputs but the third output is .

eg =
# take node j from eg.nodes()
j.results.output.out3 => undefined

Related to: Return workflow output to calling script


Since you are not specifically using that output, it won’t show up - I believe you’ll have to specify:

from nipype import config
cfg = dict(execution={'keep_inputs': True})