Skip to content

Commit 7cd1b2a

Browse files
authored
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
1 parent d6c1aed commit 7cd1b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/atwf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _get_wf(args, structure):
7878
return func(structure)
7979

8080
else:
81-
d = yaml.load(default_yaml)
81+
d = yaml.safe_load(default_yaml)
8282
return get_wf_from_spec_dict(structure, d, args.common_param_updates)
8383

8484

0 commit comments

Comments
 (0)