Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace yaml.load calls with yaml.safe_load #168

Merged
merged 1 commit into from
Nov 14, 2022
Merged

Conversation

evilsetg
Copy link

Since the use yaml.load function without a Loader argument is deprecated since pyyaml 5.1 replace yaml.loader calls with yaml.safe_loader. yaml.safe_loader is a shorthand for calling yaml.load with the SafeLoader class as Loader argument.

This PR resolves #167

since the use yaml.load function without a Loader argument is deprecated since
pyyaml 5.1 replace yaml.loader calls with yaml.safe_loader.
yaml.safe_loader is a shorthand for calling yaml.load with the SafeLoader class
as Loader argument.
Copy link
Collaborator

@Lnaden Lnaden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably remove the run_yaml.py file in the future, but its helpful to keep on hand in case we need to run manual yaml again. Thanks for the fix!

@Lnaden Lnaden merged commit 401afa9 into MolSSI:main Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecated use of pyyaml's yaml.load function without a Loader argument
2 participants