aekiss / run_summary

Summarise ACCESS-OM2 runs
Apache License 2.0
1 stars 1 forks source link

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated #2

Closed aekiss closed 5 years ago

aekiss commented 5 years ago

fix this:

run_summary.py:373: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  jobname = yaml.load(infile)['jobname']
run_summary.py:292: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  parsed_items = yaml.load(infile)