Skip to content

Commit 1857064

Browse files
author
David Ellis
committed
FIX: Allows the interface wrapper to know it is making a pial surface for 5.3.0.
1 parent 848442b commit 1857064

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/freesurfer/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,8 +2025,8 @@ def _list_outputs(self):
20252025
dest_dir, str(self.inputs.hemisphere) + '.area')
20262026
# Something determines when a pial surface and thickness file is generated
20272027
# but documentation doesn't say what.
2028-
# The orig_pial flag is just a guess
2029-
if isdefined(self.inputs.orig_pial):
2028+
# The orig_pial input is just a guess
2029+
if isdefined(self.inputs.orig_pial) or self.inputs.white == 'NOWRITE':
20302030
outputs["out_curv"] = outputs["out_curv"] + ".pial"
20312031
outputs["out_area"] = outputs["out_area"] + ".pial"
20322032
outputs["out_pial"] = os.path.join(

0 commit comments

Comments
 (0)