import json


def get_tissue_index_from_path(path: str) -> str:
    """Get tissue index from path

    Args:
        path: String representing path to file containing TPM data

    Returns:
        index: Tissue index
    """
    with open(path) as f:
        tissue_data = json.load(f)
        index = str(tissue_data["index"])

    return index