From 7cd1b2a50345fd5a0bfb9ec02cfa3de878ad4adf Mon Sep 17 00:00:00 2001 From: JSX Date: Thu, 3 Mar 2022 10:33:50 -0800 Subject: [PATCH] atwf add POSCAR not working current version of yaml.load requires a loader kwarg or just calling `safe_load` https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation --- scripts/atwf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/atwf b/scripts/atwf index 6be31252a..6485b6337 100755 --- a/scripts/atwf +++ b/scripts/atwf @@ -78,7 +78,7 @@ def _get_wf(args, structure): return func(structure) else: - d = yaml.load(default_yaml) + d = yaml.safe_load(default_yaml) return get_wf_from_spec_dict(structure, d, args.common_param_updates)