from ancpbids import BIDSLayout
#from bids.layout import BIDSLayout
layout = BIDSLayout('/data2/openneuro-ds/ds001734/derivatives/fmriprep/', validate=False)
test = layout.get(datatype="func", suffix="preproc", run=1, extension=[".nii.gz"],
space='MNI152NLin2009cAsym', return_type="file")
We tried to load the NARPS dataset with the following code. Pybids returns a list of 108 files, but with ancpbids the list is empty.