def simplify_dataset_name(dataset_name):
    """In a couple of cases (BraTS and MURA) the dataset name is not quite correct
    because of a mistake made earlier in the pipeline. 
    This function transforms the dataset names into a more readable format.

    Args:
        dataset_name (string): name of dataset to simplify

    Returns:
        string: simplified dataset name
    """

    if "BraTS20" in dataset_name:
        return "BraTS20"
    elif "study" in dataset_name:
        return "MURA"
    else:
        return dataset_name