def print_options(run_dir):
    """
    Prints options used in a previous run.

    Parameters
    ----------
    run_dir : str
        Path to a folder to with options from a previous run stored.

    """
    from neuropredict.utils import load_options
    user_options = load_options(run_dir)
    print('\n\nOptions used in the run\n{}\n'.format(run_dir))
    for key, val in user_options.items():
        if key.lower() not in ('sample_ids', 'classes'):
            print('{:>25} : {}'.format(key, val))
    return
