Skip to content

Commit a36866d

Browse files
committed
STY: Pep8
1 parent 18b3820 commit a36866d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

nibabies/workflows/bold/alignment.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,12 @@ def gen_subcortical_alignment_wf(repetition_time, name='subcortical_alignment_wf
5252
"""
5353
from niworkflows.engine.workflows import LiterateWorkflow as Workflow
5454

55-
# inputs
56-
# ${VolumefMRI}.nii.gz
57-
# ${ROIFolder}/Atlas_ROIs.${GrayordinatesResolution}.nii.gz
58-
# ${ROIFolder}/ROIs.${GrayordinatesResolution}.nii.gz
59-
# $HCPPIPEDIR_Templates/InfMNI_2AdultMNI_Step2.mat
6055
inputnode = pe.Node(
6156
niu.IdentityInterface(fields=["bold_file", "bold_roi", "atlas_roi", "atlas_xfm"]),
6257
name="inputnode",
6358
)
6459
outputnode = pe.Node(niu.IdentityInterface(fields=["subcortical_file"]), name='outputnode')
6560

66-
6761
applyxfm_atlas = pe.Node(fsl.FLIRT(), name="applyxfm_atlas")
6862
vol_resample = pe.Node(VolumeAffineResample(method="ENCLOSING_VOXEL"), name="vol_resample")
6963
create_dense = pe.Node(CiftiCreateDenseTimeseries(), name="create_dense")
@@ -77,8 +71,8 @@ def gen_subcortical_alignment_wf(repetition_time, name='subcortical_alignment_wf
7771
name="parse_labels",
7872
)
7973

80-
### The following is wrapped in a for-loop, iterating across each roi
81-
### Instead, we will use MapNodes and iter across the varying inputs
74+
# The following is wrapped in a for-loop, iterating across each roi
75+
# Instead, we will use MapNodes and iter across the varying inputs
8276
roi2atlas = pe.MapNode(
8377
fsl.FLIRT(
8478
searchr_x=[-20, 20],

0 commit comments

Comments
 (0)