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
first of all - thanks for these really helpful tutorials! I managed to translate a lot of what you describe into my particular use case.
Now I would like to scale things up a bit and use a BIDS directory to run an analysis workflow on a number of subjects. For this I tried to follow the relevant notebook (Data Input with BIDS) from your tutorial. However, it seems to be the case that this does not work. I copy-pasted the example code and applied it to both the example data (ds000114) and a small sample dataset of my own (also in BIDS format, validated with BIDS validator and also loads without issue into BIDSLayout from pybids). Here are the two things which don't work as shown in/to be expected from your tutorial:
layout.get_modalities():
This returns an empty list for both datasets rather than ['anat', 'dwi', 'func'] for ds000114 and ['anat'] for my own dataset.
throws an error: OSError: Output key: bold returned no files. This happens again for both ds000114 and my own dataset.
I'm running the docker image for the tutorials, the following versions of relevant packages seem to be installed in this: pybids 0.7.1 nipype 1.5.0-rc1.post-dev
I tried creating a separate docker image with an earlier pybids version (0.6.5). Using this the layout.get_modalities() does not return an empty list any more, but other errors come up when trying to run the BIDSDataGrabber node, so I left it there for now.
Any advice/hints/guesses as to what might be causing these issues would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
The BIDSDataGrabber is severely out-of-date as PyBIDS has had its API changed several times. It should probably be used as a rough model for how to write one of your own using a more recent version.
Hi Michael,
first of all - thanks for these really helpful tutorials! I managed to translate a lot of what you describe into my particular use case.
Now I would like to scale things up a bit and use a BIDS directory to run an analysis workflow on a number of subjects. For this I tried to follow the relevant notebook (Data Input with BIDS) from your tutorial. However, it seems to be the case that this does not work. I copy-pasted the example code and applied it to both the example data (
ds000114
) and a small sample dataset of my own (also in BIDS format, validated with BIDS validator and also loads without issue intoBIDSLayout
frompybids
). Here are the two things which don't work as shown in/to be expected from your tutorial:layout.get_modalities()
:This returns an empty list for both datasets rather than
['anat', 'dwi', 'func']
fords000114
and['anat']
for my own dataset.The small first
BIDSDataGrabber
examplethrows an error:
OSError: Output key: bold returned no files
. This happens again for bothds000114
and my own dataset.I'm running the docker image for the tutorials, the following versions of relevant packages seem to be installed in this:
pybids 0.7.1
nipype 1.5.0-rc1.post-dev
I tried creating a separate docker image with an earlier
pybids
version (0.6.5
). Using this thelayout.get_modalities()
does not return an empty list any more, but other errors come up when trying to run theBIDSDataGrabber
node, so I left it there for now.Any advice/hints/guesses as to what might be causing these issues would be greatly appreciated.
The text was updated successfully, but these errors were encountered: