Fix YAML loader warning.
Closes Thanks to for pointing out the problem.
MODIFY
gemini/config.py
gemini/config.py
@@ -58,7 +58,7 @@ def read_gemini_config(dirs=None, allow_missing=False, use_globals=True, args=No
raise
if fname:
with open(fname) as in_handle:
- config = yaml.load(in_handle)
+ config = yaml.safe_load(in_handle)
if args and hasattr(args, "annotation_dir") and args.annotation_dir:
# If --annotation-dir is given via commandline interface, we will overwrite the
# location from the config file

Fix YAML loader warning.

Closes #934. Thanks to @oleraj for pointing out the problem.