save_dataset_description

bidsaid.files.save_dataset_description(dataset_description, dst_dir)[source]

Save a dataset description dictionary.

Saves the dataset description dictionary as a file named “dataset_description.json” to the directory specified by output_dir.

Parameters

dataset_descriptiondict

The dataset description dictionary.

dst_dirstr or Path

Path to save the JSON file to.