Parse the disease identifier file.

    :param str path: Path to the disease identifier file.
    :return: List of disease identifiers.

def parse_disease_ids(path: str):
    """Parse the disease identifier file.

    :param str path: Path to the disease identifier file.
    :return: List of disease identifiers.
    """
    if os.path.isdir(path) or not os.path.exists(path):
        logger.info("Couldn't find the disease identifiers file. Returning empty list.")
        return []

    df = pd.read_csv(path, names=["ID"])
    return set(df["ID"].tolist())