PeerHerholz / bids_bep16_conv

A small package to implement conversions between BEP-16 (Diffusion Derivatives) compliant datasets and other/existing software outputs.
https://peerherholz.github.io/bids_bep16_conv
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Downloaded data doesn't have a subject folder #8

Closed arokem closed 1 year ago

arokem commented 1 year ago

Looks like this:

bids_bep16_datasets/
└─HBN/
  └─derivatives/
    └─QSIprep/
      ├─ses-HBNsiteSI/
      │ └─dwi/
      │   ├─sub-NDAREK918EC2_ses-HBNsiteSI_acq-64dir_space-T1w_desc-preproc_dwi.nii.gz
      │   ├─sub-NDAREK918EC2_ses-HBNsiteSI_acq-64dir_space-T1w_desc-preproc_dwi.bval
      │   ├─sub-NDAREK918EC2_ses-HBNsiteSI_acq-64dir_space-T1w_desc-preproc_dwi.bvec
      │   └─sub-NDAREK918EC2_ses-HBNsiteSI_acq-64dir_space-T1w_desc-preproc_dwi.json
      └─dataset_description.json

But should have a sub-XXX above the ses-XXX folder.

PeerHerholz commented 1 year ago

Thx @arokem, fixed via this commit.

arokem commented 1 year ago

This one: https://github.com/PeerHerholz/bids_bep16_conv/commit/f0f865e52dc28a6194ce3a8df3ced55a53b0cf8a