Skip to content

Commit 7aa6fc1

Browse files
committed
restoring previous version with default (either trait)
1 parent c55fdfd commit 7aa6fc1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,6 +1785,7 @@ class RobustRegisterInputSpec(FSTraitedSpec):
17851785
out_reg_file = traits.Either(
17861786
True,
17871787
File,
1788+
default=True,
17881789
usedefault=True,
17891790
argstr='--lta %s',
17901791
desc='registration file; either True or filename')

nipype/interfaces/freesurfer/registration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ class MRICoregInputSpec(FSTraitedSpec):
422422
True,
423423
File,
424424
argstr='--lta %s',
425+
default=True,
425426
usedefault=True,
426427
desc='output registration file (LTA format)')
427428
out_reg_file = traits.Either(

nipype/interfaces/freesurfer/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,7 @@ class MRIPretessInputSpec(FSTraitedSpec):
13831383
traits.Str('wm'),
13841384
traits.Int(1),
13851385
argstr='%s',
1386+
default='wm',
13861387
mandatory=True,
13871388
usedefault=True,
13881389
position=-3,

0 commit comments

Comments
 (0)