read_yaml

gammapy.utils.scripts.read_yaml(filename, logger=None)[source]

Read YAML file

Parameters:
filename : pathlib.Path, str

File to read