Closed ReinderVosDeWael closed 1 year ago
This PR adds filtering functionality to bids2table. It can be invoked with lists of values (that are considered an OR), or single values (equivalent to a list of a single value). See example usage below.
import bids2table bids2table.bids2table(BIDS_DIR, filters={'datatype': ['func', 'anat'], 'suffix': 'T1w'})
Specifically, this PR adds the following:
_filter
_bids2table.py
exceptions.py
Superseded by #17.
This PR adds filtering functionality to bids2table. It can be invoked with lists of values (that are considered an OR), or single values (equivalent to a list of a single value). See example usage below.
Specifically, this PR adds the following:
_filter
method to_bids2table.py
_filter
, including a workflow to run themexceptions.py
for custom exceptions.