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):