Fix function call

master
Dan Howe 3 years ago
parent ff8106ce8a
commit 092fdc0b1b

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

Loading…
Cancel
Save