Skip to content

Commit 36d168b

Browse files
committed
Add -hires and -expert flags to ReconAll
1 parent cfca7cc commit 36d168b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,10 @@ class ReconAllInputSpec(CommandLineInputSpec):
632632
desc="Number of processors to use in parallel")
633633
parallel = traits.Bool(argstr="-parallel",
634634
desc="Enable parallel execution")
635+
hires = traits.Bool(argstr="-hires",
636+
desc="Conform to minimum voxel size (for voxels < 1mm)")
637+
expert = File(exists=True, argstr='-expert %s',
638+
desc="Set parameters using expert file")
635639
subjects_dir = Directory(exists=True, argstr='-sd %s', hash_files=False,
636640
desc='path to subjects directory', genfile=True)
637641
flags = traits.Str(argstr='%s', desc='additional parameters')

nipype/interfaces/freesurfer/tests/test_auto_ReconAll.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@ def test_ReconAll_inputs():
1818
environ=dict(nohash=True,
1919
usedefault=True,
2020
),
21+
expert=dict(argstr='-expert %s',
22+
),
2123
flags=dict(argstr='%s',
2224
),
2325
hemi=dict(argstr='-hemi %s',
2426
),
27+
hires=dict(argstr='-hires',
28+
),
2529
ignore_exception=dict(nohash=True,
2630
usedefault=True,
2731
),

0 commit comments

Comments
 (0)