Skip to content

Commit

Permalink
fix imports within docstrings so that fmriprep docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Jan 25, 2019
1 parent 249a6b5 commit 0110ab2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion smriprep/workflows/anatomical.py
Expand Up @@ -161,7 +161,7 @@ def init_anat_preproc_wf(skull_strip_template, fs_spaces, template, debug,
**Subworkflows**
* :py:func:`~smriprep.workflows.anatomical.init_skullstrip_ants_wf`
* :py:func:`~smriprep.workflows.anatomical.init_surface_recon_wf`
* :py:func:`~smriprep.workflows.surfaces.init_surface_recon_wf`
"""

Expand Down
14 changes: 7 additions & 7 deletions smriprep/workflows/surfaces.py
Expand Up @@ -84,7 +84,7 @@ def init_surface_recon_wf(omp_nthreads, hires, name='surface_recon_wf'):
The final phase resumes reconstruction, using the T2w image to assist
in finding the pial surface, if available.
See :py:func:`~smriprep.workflows.anatomical.init_autorecon_resume_wf` for details.
See :py:func:`~smriprep.workflows.surfaces.init_autorecon_resume_wf` for details.
Memory annotations for FreeSurfer are based off `their documentation
Expand All @@ -98,7 +98,7 @@ def init_surface_recon_wf(omp_nthreads, hires, name='surface_recon_wf'):
:graph2use: orig
:simple_form: yes
from smriprep.workflows.anatomical import init_surface_recon_wf
from smriprep.workflows.surfaces import init_surface_recon_wf
wf = init_surface_recon_wf(omp_nthreads=1, hires=True)
**Parameters**
Expand Down Expand Up @@ -151,8 +151,8 @@ def init_surface_recon_wf(omp_nthreads, hires, name='surface_recon_wf'):
**Subworkflows**
* :py:func:`~smriprep.workflows.anatomical.init_autorecon_resume_wf`
* :py:func:`~smriprep.workflows.anatomical.init_gifti_surface_wf`
* :py:func:`~smriprep.workflows.surfaces.init_autorecon_resume_wf`
* :py:func:`~smriprep.workflows.surfaces.init_gifti_surface_wf`
"""

workflow = Workflow(name=name)
Expand Down Expand Up @@ -296,7 +296,7 @@ def init_autorecon_resume_wf(omp_nthreads, name='autorecon_resume_wf'):
:graph2use: orig
:simple_form: yes
from smriprep.workflows.anatomical import init_autorecon_resume_wf
from smriprep.workflows.surfaces import init_autorecon_resume_wf
wf = init_autorecon_resume_wf(omp_nthreads=1)
**Inputs**
Expand Down Expand Up @@ -405,7 +405,7 @@ def init_gifti_surface_wf(name='gifti_surface_wf'):
:graph2use: orig
:simple_form: yes
from smriprep.workflows.anatomical import init_gifti_surface_wf
from smriprep.workflows.surfaces import init_gifti_surface_wf
wf = init_gifti_surface_wf()
**Inputs**
Expand Down Expand Up @@ -478,7 +478,7 @@ def init_segs_to_native_wf(name='segs_to_native', segmentation='aseg'):
:graph2use: orig
:simple_form: yes
from smriprep.workflows.anatomical import init_segs_to_native_wf
from smriprep.workflows.surfaces import init_segs_to_native_wf
wf = init_segs_to_native_wf()
Expand Down

0 comments on commit 0110ab2

Please sign in to comment.