Passthrough¶
Pass the input data through to the output if the enabled property is set.
Use this node to turn downstream nodes (i.e., a branch of your pipeline), "off" (or back "on") by inserting it into the pipeline at the desired checkpoint. Wire the output port of the preceeding node (usually data) into the indata port and wire the outdata port of this node into the input port (usually data) of the next node (or multiple nodes to control multiple branches at once). If enabled is False, this node will pass None through instead of the input data, which should cause any nodes downstream to not be executed on this tick. Typically a ParameterPort is wired into the enabled port to externally control whether a branch of the pipeline is executed or not at (or during) runtime using the NeuroPype API.
Version 1.1.0
Ports/Properties¶
indata¶
Input data.
outdata¶
Output data.
enabled¶
Enable/disable the passing through of data from the indata port to the node(s) wired into the outdata port.
verbose¶
Print verbose messages to the log.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.