from pathlib import Path


def get_name(path):
    """Gets the name of the dynophore trajectory without the .pml extension

    Args:
        path (str): File path to the dynophore trajectory

    Returns:
        str: dynophore_pml
    """
    file = Path(path).stem
    return file