def run_single_identify(run_identify):  # pylint: disable=redefined-outer-name
    """
    Fixture to run the identification step for a given sample file which should
    contain only one cluster, and return the result for that cluster.
    """

    def inner(sample_name):
        res = run_identify(sample_name)
        assert len(res) == 1
        return res[0]

    return inner