Exposing/Copying inputs to outputs from task to graph-level #624
-
|
I was looking at the documentation on graph-level inputs/outputs (https://aiida-workgraph.readthedocs.io/en/latest/advanced/autogen/context_manager.html#workflow-inputs-outputs) and it looks very useful. I was wondering if there is a way to expose/copy the inputs or outputs of a particular task in the workgraph to the graph-level. I've tried simply using The use case I had in mind for this was to give the WorkGraph the same inputs and/or outputs of a particular CalculationJob of a dft-plugin. For |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hi @ahkole , there is a method wg.generate_outputs()This will expose all task outputs, and add the links. You can visualize this in the GUI. The same for Exposing individual tasks is not supported yet, but can be added. |
Beta Was this translation helpful? Give feedback.
Hi @ahkole , there is a method
This will expose all task outputs, and add the links. You can visualize this in the GUI. The same for
wg.generate_inputs().Exposing individual tasks is not supported yet, but can be added.