Skip to content

Commit f67b233

Browse files
authored
Merge pull request #2 from mgxd/enh/antsupdate
small fixes
2 parents c409154 + 4d21e0f commit f67b233

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

mindboggle/mindboggle123

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ from nipype.interfaces.utility import Merge
3838
from nipype.interfaces.freesurfer import ReconAll
3939
from nipype.interfaces.ants.segmentation import CorticalThickness
4040
from nipype.interfaces.ants import (ApplyTransforms, AntsJointFusion,
41-
LabelGeometry, RegistrationSynQuick)
41+
LabelGeometry, RegistrationSynQuick, Registration)
4242
from nipype.utils.misc import human_order_sorted
4343

4444

@@ -255,7 +255,7 @@ def mindboggle(subjectid, fsdir, antsdir, antsseg, out, prov, args,
255255

256256
all_args = ' '.join([DATA, '--out', out, '--ants', ants,
257257
'--working', os.getcwd()] +
258-
['--prov', prov] if prov else [] +
258+
['--prov'] if prov else [] +
259259
[args])
260260

261261
if num_threads > 1:
@@ -346,10 +346,6 @@ else:
346346
transformer_nn.inputs.input_image = '/opt/data/OASIS-TRT-20_jointfusion_DKT31_CMA_labels_in_OASIS-30_v2.nii.gz'
347347
transformer_nn.inputs.interpolation = 'NearestNeighbor'
348348

349-
mbFlow.connect(corticalthickness, 'TemplateToSubject1GenericAffine',
350-
merge_transforms, 'in1')
351-
mbFlow.connect(corticalthickness, 'TemplateToSubject0Warp',
352-
merge_transforms, 'in2')
353349
mbFlow.connect(corticalthickness, 'TemplateToSubject1GenericAffine',
354350
merge_transforms, 'in1')
355351
mbFlow.connect(corticalthickness, 'TemplateToSubject0Warp',

0 commit comments

Comments
 (0)