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

PyYAML yaml.load(input) Deprecation #17

Open
goktugerce opened this issue Jul 13, 2019 · 0 comments
Open

PyYAML yaml.load(input) Deprecation #17

goktugerce opened this issue Jul 13, 2019 · 0 comments

Comments

@goktugerce
Copy link

When read_yaml function is used, I get the following warning:

/anaconda3/envs/kipoi-shared__envs__kipoi-py3-keras2/lib/python3.6/site-packages/kipoi_utils/utils.py:475: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. return yaml.load(f)

This link explains that one of BaseLoader, SafeLoader, FullLoader and UnsafeLoader should be specified to get rid of the warning.

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

No branches or pull requests

1 participant