Closed JasperVanDenBosch closed 5 years ago
[ '/home/adf/vandejjf/Projects/pyGLMdenoise/data/ds000105/derivatives/fmriprep/sub-4/func/sub-4_task-objectviewing_run-01_bold_space-MNI152NLin2009cAsym_preproc.nii.gz', '/home/adf/vandejjf/Projects/pyGLMdenoise/data/ds000105/derivatives/fmriprep/sub-4/func/sub-4_task-objectviewing_run-01_bold_space-MNI152NLin2009cAsym_variant-smoothAROMAnonaggr_preproc.nii.gz', '/home/adf/vandejjf/Projects/pyGLMdenoise/data/ds000105/derivatives/fmriprep/sub-4/func/sub-4_task-objectviewing_run-02_bold_space-MNI152NLin2009cAsym_preproc.nii.gz', '/home/adf/vandejjf/Projects/pyGLMdenoise/data/ds000105/derivatives/fmriprep/sub-4/func/sub-4_task-objectviewing_run-02_bold_space-MNI152NLin2009cAsym_variant-smoothAROMAnonaggr_preproc.nii.gz', ]
https://github.com/bids-standard/pybids/blob/master/bids/layout/config/derivatives.json
Opened an issue at pybids: https://github.com/bids-standard/pybids/issues/420
Another solution is to add an entity: # self.layout.add_entity(Entity('variant', 'variant-([a-zA-Z0-9]+)'))