Skip to content

Commit ffcacc4

Browse files
committed
ENH: Output FreeSurfer directory to signal processing has finished
1 parent 51ee68d commit ffcacc4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nibabies/interfaces/mcribs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class MCRIBReconAllInputSpec(CommandLineInputSpec):
9797

9898
class MCRIBReconAllOutputSpec(TraitedSpec):
9999
mcribs_dir = Directory(desc='MCRIBS output directory')
100+
subjects_dir = Directory(desc='FreeSurfer output directory')
100101

101102

102103
class MCRIBReconAll(CommandLine):
@@ -212,5 +213,6 @@ def _list_outputs(self):
212213
dst = Path(self.inputs.subjects_dir) / self.inputs.subject_id
213214
if not dst.exists():
214215
shutil.copytree(mcribs_fs, dst)
216+
outputs['subjects_dir'] = str(dst)
215217

216218
return outputs

0 commit comments

Comments
 (0)