Skip to content

Commit

Permalink
Fix typos in scaffold files
Browse files Browse the repository at this point in the history
  • Loading branch information
SamGuay committed Sep 12, 2023
1 parent 6eee20a commit 338797a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dcm2bids/cli/dcm2bids_scaffold.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def main():
)
)
# dataset_description
write_txt(opj(args.output_dir, "dataset_description"),
write_txt(opj(args.output_dir, "dataset_description.json"),
bids_starter_kit.dataset_description.replace("BIDS_VERSION",
DEFAULT.bids_version))

Expand Down
22 changes: 7 additions & 15 deletions dcm2bids/utils/scaffold.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,24 @@ class bids_starter_kit(object):
"age": {
"LongName": "",
"Description": "age of the participant",
"Levels": [],
"Units": "years",
"TermURL": ""
"Units": "years"
},
"sex": {
"LongName": "",
"Description": "sex of the participant as reported by the participant",
"Levels": {
"M": "male",
"F": "female"
},
"Units": "",
"TermURL": ""
}
},
"group": {
"LongName": "",
"Description": "Group of the participant",
"Description": "experimental group the participant belonged to",
"Levels": {
"control": "Control",
"patient": "Patient"
},
"Units": "",
"TermURL": ""
},
"control": "control",
"patient": "patient"
}
}
}
"""

Expand Down

0 comments on commit 338797a

Please sign in to comment.