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 af1fd73 commit c442383Copy full SHA for c442383
nipype/algorithms/confounds.py
@@ -471,7 +471,7 @@ def _run_interface(self, runtime):
471
.format(self.inputs.realigned_file, imgseries.ndim, imgseries.shape))
472
473
if isdefined(self.inputs.mask_file):
474
- in_mask_data = nb.load(self.inputs.mask_file, mmap=NUMPY_MMAP).get_data()
+ in_mask_data = nb.load(self.inputs.mask_file[0], mmap=NUMPY_MMAP).get_data()
475
imgseries = imgseries[in_mask_data != 0, :]
476
477
# From the paper:
0 commit comments