feat: add Python script to automate dataset_description.json generation - #422
Open
sejalpunwatkar wants to merge 2 commits into
Open
feat: add Python script to automate dataset_description.json generation#422sejalpunwatkar wants to merge 2 commits into
sejalpunwatkar wants to merge 2 commits into
Conversation
…equired for BIDS datasets, using a clean metadata template. This part of the code is used to create the correct path for the dataset_description.json file inside a BIDS project. By combining the main dataset directory (root_dir) with the project’s folder name (project_label), the code helps the program know exactly where this important file should be stored. In the BIDS structure, this file acts like an introduction to the dataset, so setting its path properly ensures the project stays organized and follows the standard format.
Python script that auto-generates the dataset_description.json file required for BIDS datasets, using a clean metadata template.
Author
|
Just checking in to see if there are any thoughts on this automation script or if any adjustments are needed to meet the BIDS utility standards. Please take a look whenever you have a moment! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a Python utility script designed to automate the creation of the
dataset_description.jsonfile, a core requirement for BIDS-compliant datasets.Key Features
root_dirandproject_label.Why this is needed
Manually creating
dataset_description.jsoncan be error-prone and tedious. This script bridges the gap between raw data and BIDS organization, ensuring that essential introduction metadata is correctly formatted and located from the start.Testing