Skip to content

Commit 490446e

Browse files
author
David Ellis
committed
ENH: Adds in_white to Make Surfaces.
1 parent 2c9cb25 commit 490446e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nipype/interfaces/freesurfer/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,6 +1876,7 @@ class MakeSurfacesInputSpec(FSTraitedSpec):
18761876
in_filled = File(exists=True, mandatory=True,
18771877
desc="Implicit input file filled.mgz")
18781878
# optional
1879+
in_white = File(exists=True, desc="Implicit input that is sometimes used")
18791880
in_label = File(exists=True, mandatory=False, xor=['noaparc'],
18801881
desc="Implicit input label/<hemisphere>.aparc.annot")
18811882
orig_white = File(argstr="-orig_white %s", exists=True, mandatory=False,
@@ -1958,6 +1959,8 @@ def run(self, **inputs):
19581959
folder='mri', basename='wm.mgz')
19591960
copy2subjdir(self, self.inputs.in_filled,
19601961
folder='mri', basename='filled.mgz')
1962+
copy2subjdir(self, self.inputs.in_white,
1963+
'surf', '{0}.white'.format(self.inputs.hemisphere))
19611964
for originalfile in [self.inputs.in_aseg,
19621965
self.inputs.in_T1]:
19631966
copy2subjdir(self, originalfile, folder='mri')

0 commit comments

Comments
 (0)