Utilize templates for our scripts #47
Labels
documentation
tasks relating to improving our documentation
enhancement
requests to add something new to the project
templates
Right now we have scripts that use python/matlab to generate various BIDS structures, e..g.:
Python: https://github.com/choldgraf/bids-starter-kit/blob/master/pythonCode/createBIDS_dataset_description_json.py
Matlab: https://github.com/INCF/bids-starter-kit/blob/master/matlabCode/createBIDS_dataset_description_json.m
Whereas we also have a nicely-detailed template that's language-agnostic and in the "final" BIDS format:
https://github.com/INCF/bids-starter-kit/blob/master/templates/dataset_description.json
I propose that, wherever we have a pre-defined template such as this, instead of re-creating the same structure with raw matlab/python, we provide code to read in the template and show how to update the fields. This would make things much easier to maintain, and separates out the data structure from the scripting code itself.
What do folks think? If y'all are +1, I think this would be a great new contributor issue as well
The text was updated successfully, but these errors were encountered: