Module with Node sub classes for workflow processes.
aiida.orm.nodes.process.workflow.
WorkChainNode
Bases: aiida.orm.nodes.process.workflow.workflow.WorkflowNode
aiida.orm.nodes.process.workflow.workflow.WorkflowNode
ORM class for all nodes representing the execution of a WorkChain.
STEPPER_STATE_INFO_KEY
__abstractmethods__
__module__
_abc_impl
_logger
_plugin_type_string
_query_type_string
_updatable_attributes
set_stepper_state_info
Set the stepper state info
state – string representation of the stepper state info
stepper_state_info
Return the stepper state info
string representation of the stepper state info
WorkFunctionNode
Bases: aiida.orm.utils.mixins.FunctionCalculationMixin, aiida.orm.nodes.process.workflow.workflow.WorkflowNode
aiida.orm.utils.mixins.FunctionCalculationMixin
ORM class for all nodes representing the execution of a workfunction.
validate_outgoing
Validate adding a link of the given type from ourself to a given node.
A workfunction cannot create Data, so if we receive an outgoing RETURN link to an unstored Data node, that means the user created a Data node within our function body and is trying to return it. This use case should be reserved for @calcfunctions, as they can have CREATE links.
target – the node to which the link is going
link_type – the link type
link_label – the link label
TypeError – if target is not a Node instance or link_type is not a LinkType enum
ValueError – if the proposed link is invalid
WorkflowNode
Bases: aiida.orm.nodes.process.process.ProcessNode
aiida.orm.nodes.process.process.ProcessNode
Base class for all nodes representing the execution of a workflow process.
_storable
_unstorable_message
inputs
Return an instance of NodeLinksManager to manage incoming INPUT_WORK links
The returned Manager allows you to easily explore the nodes connected to this node via an incoming INPUT_WORK link. The incoming nodes are reachable by their link labels which are attributes of the manager.
NodeLinksManager
outputs
Return an instance of NodeLinksManager to manage outgoing RETURN links
The returned Manager allows you to easily explore the nodes connected to this node via an outgoing RETURN link. The outgoing nodes are reachable by their link labels which are attributes of the manager.
A workflow cannot ‘create’ Data, so if we receive an outgoing link to an unstored Data node, that means the user created a Data node within our function body and tries to attach it as an output. This is strictly forbidden and can cause provenance to be lost.
Module with Node sub class for workchain processes.
aiida.orm.nodes.process.workflow.workchain.
Module with Node sub class for workflow processes.
aiida.orm.nodes.process.workflow.workflow.
Module with Node sub class for workflow function processes.
aiida.orm.nodes.process.workflow.workfunction.