Skip to content

Commit a905434

Browse files
committed
Set minimum FS version for -hires
1 parent 36d168b commit a905434

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ 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",
635+
hires = traits.Bool(argstr="-hires", min_ver='6.0.0',
636636
desc="Conform to minimum voxel size (for voxels < 1mm)")
637637
expert = File(exists=True, argstr='-expert %s',
638638
desc="Set parameters using expert file")

nipype/interfaces/freesurfer/tests/test_auto_ReconAll.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def test_ReconAll_inputs():
2525
hemi=dict(argstr='-hemi %s',
2626
),
2727
hires=dict(argstr='-hires',
28+
min_ver='6.0.0',
2829
),
2930
ignore_exception=dict(nohash=True,
3031
usedefault=True,

0 commit comments

Comments
 (0)