def select_node(nodes):
    if nodes:
        return random.choice(nodes)
    else:
        raise EmptyClusterError("Cluster contains no nodes.")
Test MNE inverse computation with diagonal noise cov
dataset/ETHPy150Open ClusterHQ/flocker/benchmark/operations/_common.py/select_node--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/minimum_norm/tests/test_inverse.py/test_make_inverse_operator_diag