Skip to content

Commit a0dde7a

Browse files
committed
FIX: PEP8 - E124 closing bracket does not match visual indentation
1 parent 3031188 commit a0dde7a

34 files changed

+73
-74
lines changed

examples/dmri_camino_dti.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def get_affine(volume):
230230

231231
tractography.connect([(image2voxel, dtifit,[['voxel_order','in_file']]),
232232
(fsl2scheme, dtifit,[['scheme','scheme_file']])
233-
])
233+
])
234234

235235
"""
236236
Workflow for applying DT streamline tractogpahy
@@ -302,8 +302,8 @@ def get_affine(volume):
302302
(datasource,tractography,[('dwi','inputnode.dwi'),
303303
('bvals','inputnode.bvals'),
304304
('bvecs','inputnode.bvecs')
305-
])
306-
])
305+
])
306+
])
307307
"""
308308
The following functions run the whole workflow and produce a .dot and .png graph of the processing pipeline.
309309
"""

examples/dmri_connectivity.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def select_aparc_annot(list_of_files):
390390
("bvals", "bval_file")]),
391391
(image2voxel, dtifit,[['voxel_order','in_file']]),
392392
(fsl2scheme, dtifit,[['scheme','scheme_file']])
393-
])
393+
])
394394

395395
"""
396396
Nifti conversions for the parcellated white matter image (used in Camino's conmap),
@@ -483,7 +483,7 @@ def select_aparc_annot(list_of_files):
483483
mapping.connect([(track, camino2trackvis, [('tracked','in_file')]),
484484
(track, vtkstreamlines,[['tracked','in_file']]),
485485
(camino2trackvis, trk2camino,[['trackvis','in_file']])
486-
])
486+
])
487487
mapping.connect([(inputnode, camino2trackvis,[(('dwi', get_vox_dims), 'voxel_dims'),
488488
(('dwi', get_data_dims), 'data_dims')])])
489489

@@ -568,7 +568,7 @@ def select_aparc_annot(list_of_files):
568568
(datasource,mapping,[('dwi','inputnode.dwi'),
569569
('bvals','inputnode.bvals'),
570570
('bvecs','inputnode.bvecs')
571-
]),
571+
]),
572572
(infosource,mapping,[('subject_id','inputnode.subject_id')])
573573
])
574574

examples/dmri_connectivity_advanced.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@
425425
mapping.connect([(dwi2tensor, tensor2vector,[['tensor','in_file']]),
426426
(dwi2tensor, tensor2adc,[['tensor','in_file']]),
427427
(dwi2tensor, tensor2fa,[['tensor','in_file']]),
428-
])
428+
])
429429
mapping.connect([(tensor2fa, MRmult_merge,[("FA","in1")])])
430430
mapping.connect([(tensor2fa, MRconvert_fa,[("FA","in_file")])])
431431

@@ -582,7 +582,7 @@
582582
(datasource,mapping,[('dwi','inputnode.dwi'),
583583
('bvals','inputnode.bvals'),
584584
('bvecs','inputnode.bvecs')
585-
]),
585+
]),
586586
(infosource,mapping,[('subject_id','inputnode.subject_id')])
587587
])
588588

examples/dmri_dtk_odf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
(compute_ODF,tractography,[('bet.mask_file','odf_tracker.mask1_file'),
199199
('odf_recon.ODF','odf_tracker.ODF'),
200200
('odf_recon.max','odf_tracker.max')
201-
])
201+
])
202202
])
203203

204204
dwiproc.inputs.compute_ODF.hardi_mat.oblique_correction = True

examples/dmri_fsl_dti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
]),
230230
(probtrackx,findthebiggest,[('targets','in_files')]),
231231
(flirt, probtrackx, [('out_matrix_file','xfm')])
232-
])
232+
])
233233

234234

235235
"""

examples/dmri_mrtrix_dti.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
tractography.connect([(dwi2tensor, tensor2vector,[['tensor','in_file']]),
185185
(dwi2tensor, tensor2adc,[['tensor','in_file']]),
186186
(dwi2tensor, tensor2fa,[['tensor','in_file']]),
187-
])
187+
])
188188
tractography.connect([(tensor2fa, MRmult_merge,[("FA","in1")])])
189189

190190
"""
@@ -253,7 +253,7 @@
253253
(datasource,tractography,[('dwi','inputnode.dwi'),
254254
('bvals','inputnode.bvals'),
255255
('bvecs','inputnode.bvecs')
256-
])
256+
])
257257
])
258258

259259
if __name__ == '__main__':

examples/dmri_tbss_nki.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
'inputnode.distance_map')]),
121121
(tbss_source, tbss_MD, [('md_list',
122122
'inputnode.file_list')]),
123-
])
123+
])
124124

125125
if __name__ == '__main__':
126126
tbssproc.write_graph()

examples/fmri_ants_openfmri.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,12 +997,12 @@ def get_subs(subject_id, conds, run_id, model_id, task_id):
997997
('varcopes', 'varcopes'),
998998
('zstats', 'zstats'),
999999
('tstats', 'tstats')])
1000-
])
1000+
])
10011001
wf.connect([(modelfit.get_node('modelgen'), datasink,
10021002
[('design_cov', 'qa.model'),
10031003
('design_image', 'qa.model.@matrix_image'),
10041004
('design_file', 'qa.model.@matrix'),
1005-
])])
1005+
])])
10061006
wf.connect([(preproc, datasink, [('outputspec.motion_parameters',
10071007
'qa.motion'),
10081008
('outputspec.motion_plots',

examples/fmri_freesurfer_smooth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
(volanalysis, volnorm, [('contrastestimate.con_images',
363363
'convertimg2nii.in_file'),
364364
])
365-
])
365+
])
366366

367367

368368
"""

examples/fmri_fsl_reuse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
(art, modelspec, [('outlier_files', 'outlier_files')]),
8080
(modelspec, modelfit, [('session_info', 'inputspec.session_info')]),
8181
(preproc, modelfit, [('outputspec.highpassed_files', 'inputspec.functional_data')])
82-
])
82+
])
8383

8484

8585
"""
@@ -240,7 +240,7 @@ def subjectinfo(subject_id):
240240
(infosource, modelspec, [(('subject_id', subjectinfo),
241241
'subject_info')]),
242242
(datasource, preproc, [('func', 'inputspec.func')]),
243-
])
243+
])
244244

245245
"""
246246
Execute the pipeline

0 commit comments

Comments
 (0)