Skip to content

Commit

Permalink
Merge pull request #71 from Remi-Gau/remi-yaml_load
Browse files Browse the repository at this point in the history
[FIX] specify loader for yaml loading
  • Loading branch information
cmaumet authored Feb 18, 2022
2 parents 3cfdf6f + 91de123 commit 377d8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids_prov/spm_load_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 377d8e2

Please sign in to comment.