We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 539f148 commit 30a50f9Copy full SHA for 30a50f9
niworkflows/interfaces/bids.py
@@ -261,11 +261,12 @@ class BIDSDataGrabber(SimpleInterface):
261
input_spec = _BIDSDataGrabberInputSpec
262
output_spec = _BIDSDataGrabberOutputSpec
263
264
- def __init__(self, *args, **kwargs):
+ def __init__(self, *args, require_funcs=False, **kwargs):
265
anat_only = kwargs.pop('anat_only', None)
266
anat_derivatives = kwargs.pop('anat_derivatives', None)
267
require_t1w = kwargs.pop('require_t1w', True)
268
super().__init__(*args, **kwargs)
269
+ self._require_funcs = require_funcs
270
if anat_only is not None:
271
self._require_funcs = not anat_only
272
self._require_t1w = require_t1w and anat_derivatives is None
0 commit comments