ytree.arbor.tree_node_selector.min_field_value

ytree.arbor.tree_node_selector.min_field_value(ancestors, field)

Return the TreeNode with the minimum value of the given field.

ancestors : list of TreeNode objects
List of TreeNode objects from which to select.
field : string
Field to be used for selection.

TreeNode object