Skip to content

Commit

Permalink
prepare script to clean up json
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Jun 23, 2023
1 parent 16b3489 commit 9e1ead6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clean_up_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
new_key = "".join([x.capitalize() for x in key.split(" ")])

if new_key == "ReferencesAndLinks":
content[new_key] = [content["MetaData"][key], ""]

content[new_key] = content["MetaData"][key]
content[new_key] = [content["MetaData"][key]]
else:
content[new_key] = content["MetaData"][key]

content["Space"] = "MNI152NLin6"
content["BIDSVersion"] = "1.8.0"
Expand Down

0 comments on commit 9e1ead6

Please sign in to comment.