robertoostenveld/bids-tools

implement a python script "create_sidecar_files"

Closed this issue · 5 comments

This should loop over all levels of

dataset/subj-xxx/ses-xxx/datatype

and should create sidecar json+tsv documents at the level of the dataset (subjects.tsv), the level of the subjects (sessions.tsv) and at the level of the sessions (dependent on whether it contains *.nii or *.ds datafiles)

The level "ses-xxx" is optional.

The datatype can be something like anat, dwi, func, fmap, beh, meg, eeg. It is optional.

@schoffelen, I created a first version. It just loops over directories, does not create any files yet. Can you look at the interface and help?

will do, perhaps later today, otherwise tomorrow.

Hier spuit 11: looks good so far, as far as I can tell

the script exists now, although still needs improvements.