diff --git a/dcm2bids/cli/dcm2bids_scaffold.py b/dcm2bids/cli/dcm2bids_scaffold.py index 87691cb5..33922d68 100644 --- a/dcm2bids/cli/dcm2bids_scaffold.py +++ b/dcm2bids/cli/dcm2bids_scaffold.py @@ -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)) diff --git a/dcm2bids/utils/scaffold.py b/dcm2bids/utils/scaffold.py index 70cc2e19..9ccc36a0 100644 --- a/dcm2bids/utils/scaffold.py +++ b/dcm2bids/utils/scaffold.py @@ -31,9 +31,7 @@ class bids_starter_kit(object): "age": { "LongName": "", "Description": "age of the participant", - "Levels": [], - "Units": "years", - "TermURL": "" + "Units": "years" }, "sex": { "LongName": "", @@ -41,22 +39,16 @@ class bids_starter_kit(object): "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" + } + } } """