Skip to content

← programming package

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.

verbose name
Indata
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

outdata

Output data.

verbose name
Outdata
default value
None
port type
DataPort
value type
object (can be None)
data direction
OUT

enabled

Enable/disable the passing through of data from the indata port to the node(s) wired into the outdata port.

verbose name
Enabled
default value
True
port type
BoolPort
value type
bool

verbose

Print verbose messages to the log.

verbose name
Verbose
default value
False
port type
BoolPort
value type
bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)