Skip to content

Commit af1fd73

Browse files
committed
fix: tcompcor output
1 parent 7ff5148 commit af1fd73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/algorithms/confounds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ class CompCor(BaseInterface):
352352
def _run_interface(self, runtime):
353353
imgseries = nb.load(self.inputs.realigned_file, mmap=NUMPY_MMAP).get_data()
354354
components = None
355-
355+
356356
for mask_file in self.inputs.mask_file:
357357
mask = nb.load(mask_file, mmap=NUMPY_MMAP).get_data()
358358

@@ -441,7 +441,7 @@ class TCompCorInputSpec(CompCorInputSpec):
441441

442442
class TCompCorOutputSpec(CompCorInputSpec):
443443
# and all the fields in CompCorInputSpec
444-
high_variance_mask = File(exists=True, desc="voxels excedding the variance threshold")
444+
high_variance_mask = InputMultiPath(File(exists=True, desc="voxels excedding the variance threshold"))
445445

446446
class TCompCor(CompCor):
447447
'''

0 commit comments

Comments
 (0)