pybids
pybids copied to clipboard
Python tools for querying and manipulating BIDS datasets.
I pass an ignore directing to `BIDSLayout` in order to not index fmriprep confounds: ``` layout = BIDSLayout('/work/HealthyBrainNetwork/preproc/fmriprep', derivatives=['/work/HealthyBrainNetwork/neuroscout-bundles/MzXpw', '/work/HealthyBrainNetwork/preproc/fmriprep'], ignore=[re.compile('.*desc-confounds_regressors.tsv')]) ``` However, when I make my analysis, and ask...
Per [Tal's post on Mattermost](https://mattermost.brainhack.org/brainhack/pl/cz9uxhfgzjygmfbk75uakawzqe), the following methods could be implemented in BIDSImageFile: - `get_events(return_type)`: Returns either the contents of an associated events file or the filename. - `get_regressors()` -...
One thing that's lacking right now is systematic testing for entity parsing and path generation. For example, prior to #477, the `echo` entity would only be parsed from `bold` files...
Hi, I am running the following commands through a Jupyter Notebook from Anaconda 4.6.8 on Windows 10: bids_dir = "C:/Users/myself/DevArea/ds-supermri/bids" layout = BIDSLayout(bids_dir) The command is crashing with: error: incomplete...
See discussion thread in #367, and particularly [this](https://github.com/bids-standard/pybids/pull/367#issuecomment-464365435) comment.
This should only require changes to [these lines](https://github.com/bids-standard/pybids/blob/master/bids/variables/io.py#L127)—but verification that this doesn't break other things will require more testing.
I accidentally called layout.add_derivatives(dir) twice, resulting in an attempt to add twice the same directory in the derivatives on my layout: ``` layout.add_derivatives(dir) layout.add_derivatives(dir) ``` The error message read as...
Description: create a new column for each non-falsey row. Use cases 1. Beta-series: each event gets modeled separately, good for machine learning applications and task related correlations. 2. Expanding a...
Resolves: #683.
I am trying to apply the new spec for B0 fieldmap Intent to bypass limitations with sdcflows https://github.com/nipreps/sdcflows/issues/266 However I have fmriprep crashing in `pybids.BIDSLayout.get_B0FieldIdentifiers` ``` lib/python3.7/site-packages/bids/layout/layout.py in get(self, return_type,...