Skip to content

Commit b4ab300

Browse files
committed
[skip tests][skip docs][skip ds210][skip ds054] pacify flake8
1 parent b3f34a5 commit b4ab300

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

fmriprep/workflows/bold/confounds.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def init_bold_confs_wf(mem_gb, metadata, name="bold_confs_wf"):
138138
placed within the corresponding confounds file.
139139
"""
140140
inputnode = pe.Node(niu.IdentityInterface(
141-
fields=['bold', 'bold_mask', 'movpar_file', 'n_volumes_to_discard',
141+
fields=['bold', 'bold_mask', 'movpar_file', 'n_volumes_to_discard',
142142
't1_mask', 't1_tpms', 't1_bold_xform']),
143143
name='inputnode')
144144
outputnode = pe.Node(niu.IdentityInterface(
@@ -515,7 +515,7 @@ def init_ica_aroma_wf(template, metadata, mem_gb, omp_nthreads,
515515
)
516516
bold_mni_trans_wf.__desc__ = None
517517

518-
rm_non_steady_state = pe.Node(niu.Function(function=_remove_volumes,
518+
rm_non_steady_state = pe.Node(niu.Function(function=_remove_volumes,
519519
output_names=['bold_cut']),
520520
name='rm_nonsteady')
521521

@@ -542,7 +542,7 @@ def _getusans_func(image, thresh):
542542
denoise_type='nonaggr', generate_report=True, TR=metadata['RepetitionTime']),
543543
name='ica_aroma')
544544

545-
add_non_steady_state = pe.Node(niu.Function(function=_add_volumes,
545+
add_non_steady_state = pe.Node(niu.Function(function=_add_volumes,
546546
output_names=['bold_add']),
547547
name='add_nonsteady')
548548

@@ -616,6 +616,7 @@ def _getbtthresh(medianval):
616616

617617
return workflow
618618

619+
619620
def _remove_volumes(bold_file, n_volumes):
620621
import nibabel as nb
621622
from nipype.utils.filemanip import fname_presuffix

0 commit comments

Comments
 (0)