finesse.tracing.tree.TraceTree.add_right

TraceTree.add_right(self, TraceTree sub_tree) TraceTree

Add a right sub-tree to the tree.

Parameters
sub_treeTraceTree

The tree to add to the right.

Returns
sub_treeTraceTree

The same tree that was added. This is useful for looping over a single branch of the tree as a parent tree can be set to the return of this method on each iteration.