You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return generated filename with relevant dir- labels:
sub-1_ses-1_acq-modified_dir-AP_dwi.nii.gz
Possible Causes:
layout/config/bids.json is missing [_dir-{direction}] for the dwi line in default_path_patterns.
Update dwi entry to 'sub-{subject}[/ses-{session}]/dwi/sub-{subject}[_ses-{session}][_acq-{acquisition}][_dir-{direction}]_{suffix<dwi>}.{extension<bval|bvec|json|nii.gz|nii>|nii.gz}' in `bids.json
The text was updated successfully, but these errors were encountered:
Preamble
pybids version:
bids.__version__ --> '0.15.2'
Issue is referenced with example code in this neurostars thread.
Issue is confirmed to not affect
bold
orepi
files.Issue
Current Behavior
bids.BIDSLayout.build_path()
to generate valid filenames from modified entities from a DWI image.sub-01_ses-1_dir-AP_dwi.nii.gz
dir-AP
label.sub-1_ses-1_acq-modified_dwi.nii.gz
Desired Behavior
dir-
labels:sub-1_ses-1_acq-modified_dir-AP_dwi.nii.gz
Possible Causes:
[_dir-{direction}]
for the dwi line indefault_path_patterns
.'sub-{subject}[/ses-{session}]/dwi/sub-{subject}[_ses-{session}][_acq-{acquisition}][_dir-{direction}]_{suffix<dwi>}.{extension<bval|bvec|json|nii.gz|nii>|nii.gz}'
in `bids.jsonThe text was updated successfully, but these errors were encountered: