Skip to content

Commit 5347881

Browse files
author
Shoshana Berleant
committed
fix dumb error, comments
1 parent 6a88b3a commit 5347881

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/rsfmri_vol_surface_preprocessing_nipy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@
5252
from nipype.interfaces.base import CommandLine
5353
CommandLine.set_default_terminal_output('allatonce')
5454

55+
# https://github.com/moloney/dcmstack
5556
from dcmstack.extract import default_extractor
57+
# pip install pydicom
5658
from dicom import read_file
5759

5860
from nipype.interfaces import (fsl, Function, ants, freesurfer, nipy)
@@ -653,7 +655,7 @@ def merge_files(in1, in2):
653655
createfilter2 = MapNode(ACompCor(),
654656
iterfield=['realigned_file', 'extra_regressors'],
655657
name='makecompcorrfilter')
656-
createfilter2.inputs.components_file('noise_components.txt')
658+
createfilter2.inputs.components_file = 'noise_components.txt'
657659
createfilter2.inputs.num_components = num_components
658660

659661
wf.connect(createfilter1, 'out_files', createfilter2, 'extra_regressors')

0 commit comments

Comments
 (0)