Skip to content

Commit a624b05

Browse files
author
Shoshana Berleant
committed
update compcor import
1 parent eabf65a commit a624b05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/workflows/rsfmri/fsl/resting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from ....interfaces import utility as util # utility
99
from ....pipeline import engine as pe # pypeline engine
1010
from ....algorithms.misc import TSNR
11-
from ....algorithms import compcor as cc
11+
from ....algorithms import confounds
1212

1313
def select_volume(filename, which):
1414
"""Return the middle index of a file
@@ -118,7 +118,7 @@ def create_resting_preproc(name='restpreproc', base_dir=None):
118118
getthresh = pe.Node(interface=fsl.ImageStats(op_string='-p 98'),
119119
name='getthreshold')
120120
threshold_stddev = pe.Node(fsl.Threshold(), name='threshold')
121-
compcor = pe.Node(cc.ACompCor(components_file="noise_components.txt",
121+
compcor = pe.Node(confounds.ACompCor(components_file="noise_components.txt",
122122
use_regress_poly=False),
123123
name='compcor')
124124
remove_noise = pe.Node(fsl.FilterRegressor(filter_all=True),

0 commit comments

Comments
 (0)