@ -78,7 +78,7 @@ def read_parameter_file(fname):
"""
with open(fname, 'r') as stream:
try:
params = yaml.load(stream)
params = yaml.safe_load(stream)
except yaml.YAMLError as exc:
print(exc, "\nCheck the formatting of the yaml file.")