def get_internal_clades(ete_tree_obj):
    """
    Identify internal nodes in the ETE3 tree and return a dict of the samples associated with that clade
    Parameters
    ----------
    ete_tree_obj [ETE tree obj] :

    Returns
    -------
    clade_dict [dict]: Dictionary of tree nodes which are not leaves

    """
    cache = ete_tree_obj.get_cached_content()
    clade_dict = {}
    for clade in cache:
        clade_id = clade.name
        children = clade.get_leaf_names()
        if len(children) == 1:
            continue
        clade_dict[clade_id] = children
    return clade_dict