Closed gokceneraslan closed 3 years ago
Suppresses this annoying warning:
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Not sure if this is really the right fix though.
Thanks! Looks good. I've also used it here: https://github.com/kipoi/kipoi-utils/blob/020315afa0250bf467c9d383dca6d0c4595e79ae/kipoi_utils/utils.py#L271.
Suppresses this annoying warning:
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Not sure if this is really the right fix though.