Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inheritance principle bug: no more than one file per level allowed #615

Closed
Remi-Gau opened this issue Aug 11, 2023 · 0 comments
Closed

inheritance principle bug: no more than one file per level allowed #615

Remi-Gau opened this issue Aug 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Remi-Gau
Copy link
Collaborator

sub-01/
  anat/
    sub-01_desc-preproc_T1w.json
    sub-01_desc-preproc_T1w.nii.gz
    sub-01_space-MNI_desc-preproc_T1w.json
    sub-01_space-MNI_desc-preproc_T1w.nii.gz

There should only be one sidecar car per data file

>>> BIDS = bids.layout('tmp', 'use_schema', false);
>>> BIDS.subjects.anat(2).metafile
ans =
  2×1 cell array
    {'/home/remi/github/bids/matlab/tmp/sub-01/anat/sub-01_desc-preproc_T1w.json'          }
    {'/home/remi/github/bids/matlab/tmp/sub-01/anat/sub-01_space-MNI_desc-preproc_T1w.json'}
@Remi-Gau Remi-Gau added the bug Something isn't working label Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant