From 91de123932c444263274fb72ad03495c609b50ca Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Sat, 22 Jan 2022 10:25:38 +0100 Subject: [PATCH] specify loader for yaml laoding --- bids_prov/spm_load_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bids_prov/spm_load_config.py b/bids_prov/spm_load_config.py index 60a4584ae..881a1a5ea 100644 --- a/bids_prov/spm_load_config.py +++ b/bids_prov/spm_load_config.py @@ -17,7 +17,7 @@ CONTEXT_URL = "https://raw.githubusercontent.com/cmaumet/BIDS-prov/context-type-indexing/context.json" with open(this_path + "/spm_config.yml", "r") as fd: - static = yaml.load(fd) + static = yaml.load(fd, Loader=yaml.CLoader) def get_empty_graph(context_url=CONTEXT_URL):