def flat_unique(ls):
    return list(unique(chain.from_iterable(ls), key=id))
If method = "euclidean_distance::ensemble" and "parameters::type" is "DIHEDRALS"
dataset/ETHPy150Open dask/dask/dask/delayed.py/flat_unique--crossover with--dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/data/matrix/protein/cases/euclidean/dihedralsCase.py/DihedralEuclideanDistanceBuilder.build