def getYamlDocument(filePath):
    with open(filePath) as stream:
        doc = yaml.load(stream)
        return doc
Return a yaml file's contents as a dictionary
dataset/ETHPy150Open ga4gh/server/scripts/utils.py/getYamlDocument