def getObjectLabel(objectData, objectName):
    """
    Returns the object label specified in object_data.yaml
    :param objectName:
    :return:
    """

    if objectName not in objectData:
        raise ValueError('there is no data for ' + objectName)

    return objectData[objectName]['label']