Skip to content

Commit c34bcef

Browse files
committed
Merge remote-tracking branch 'upstream/master' into fix/use_current_prov
* upstream/master: fix: ensure that T2 file gets used to clean surface
2 parents 2eaecfa + cbdc3dd commit c34bcef

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,9 @@ class ReconAllInputSpec(CommandLineInputSpec):
609609
T1_files = InputMultiPath(File(exists=True), argstr='-i %s...',
610610
desc='name of T1 file to process')
611611
T2_file = File(exists=True, argstr="-T2 %s", min_ver='5.3.0',
612-
desc='Use a T2 image to refine the cortical surface')
612+
desc='Convert T2 image to orig directory')
613+
use_T2 = traits.Bool(argstr="-T2pial", min_ver='5.3.0',
614+
desc='Use converted T2 to refine the cortical surface')
613615
openmp = traits.Int(argstr="-openmp %d",
614616
desc="Number of processors to use in parallel")
615617
subjects_dir = Directory(exists=True, argstr='-sd %s', hash_files=False,

nipype/interfaces/freesurfer/tests/test_auto_ReconAll.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ def test_ReconAll_inputs():
3636
),
3737
terminal_output=dict(nohash=True,
3838
),
39+
use_T2=dict(argstr='-T2pial',
40+
min_ver='5.3.0',
41+
),
3942
)
4043
inputs = ReconAll.input_spec()
4144

0 commit comments

Comments
 (0)