Skip to content

Commit 66c7540

Browse files
committed
provide mask name to circumvent test failure
1 parent 577e395 commit 66c7540

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nipype/algorithms/tests/test_CompCor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_compcor_variance_threshold_and_metadata(self):
7171
['-0.4500578942', '0.0778209345']]
7272
expected_metadata = {
7373
'component': 'CompCor00',
74-
'mask': '0',
74+
'mask': 'mask',
7575
'singular_value': '4.0720553036',
7676
'variance_explained': '0.5527211465',
7777
'cumulative_variance_explained': '0.5527211465'
@@ -80,6 +80,7 @@ def test_compcor_variance_threshold_and_metadata(self):
8080
variance_threshold=0.7,
8181
realigned_file=self.realigned_file,
8282
mask_files=self.mask_files,
83+
mask_names=['mask'],
8384
mask_index=1,
8485
save_metadata=True)
8586
self.run_cc(ccinterface=ccinterface,

0 commit comments

Comments
 (0)