from pathlib import Path


def default_sim_name(sb_dirpaths):
    """Generate a default sim_name

    Parameters
    ----------
    sb_dirpaths : list
        List of paths to samples_batch directories

    Returns
    -------
    sim_name : str
    """
    return "_".join([Path(dirpath).name for dirpath in sb_dirpaths])