Skip to content

Commit b4d5088

Browse files
committed
Merge pull request #1462 from BRAINSia/doc_reconall
DOC: Adds documentation to create_reconall_workflow
2 parents aeecd2f + 7091cdd commit b4d5088

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

examples/smri_fsreconall.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
================
66
77
This script, smri_fsreconall.py, demonstrates the ability to use the
8-
reconall nipype workflow with a set of subjects and then make an average
9-
subject::
8+
create_reconall_workflow function to create a workflow and then run it on a
9+
set of subjects and then make an average subject::
1010
1111
python smri_fsreconall.py
1212
13+
For an example on how to call FreeSurfer's reconall script in Nipype
14+
see smri_freesurfer.py.
15+
1316
Import necessary modules from nipype.
1417
"""
1518

nipype/workflows/smri/freesurfer/recon.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ def link_masks(subjects_dir, subject_id):
8181
return wf
8282

8383
def create_reconall_workflow(name="ReconAll", plugin_args=None):
84-
"""Creates the ReconAll workflow in nipype.
84+
"""Creates the ReconAll workflow in Nipype. This workflow is designed to
85+
run the same commands as FreeSurfer's reconall script but with the added
86+
features that a Nipype workflow provides. Before running this workflow, it
87+
is necessary to have the FREESURFER_HOME environmental variable set to the
88+
directory containing the version of FreeSurfer to be used in this workflow.
8589
8690
Example
8791
-------

0 commit comments

Comments
 (0)