def _fetch_node_trials(experiment_node, parent_or_children, query,
    selection=None):
    """Fetch trials from the current node and connect with parent or children

    .. note::

        To call with node.map to connect with parents or children

    """
    experiment_trials = experiment_node.item.fetch_trials(query, selection)
    rval = {'trials': experiment_trials, 'experiment': experiment_node.item}
    return rval, parent_or_children
