Skip to content

Commit 1bed8ed

Browse files
committed
Minor fix
1 parent 44b8605 commit 1bed8ed

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

nipype/interfaces/cat12/surface.py

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,8 @@ class ExtractAdditionalSurfaceParameters(SPMCommand):
7373
>>> # Set the left surface files, both will be processed
7474
>>> lh_path_central = 'lh.central.structural.gii'
7575
>>> # Put here all surface files generated by CAT12 Segment, this is only required if the this approach is putted in
76-
>>> surf_files = ["lh.sphere.reg.structural.gii", "rh.sphere.reg.structural.gii", \
77-
"lh.sphere.structural.gii", "rh.sphere.structural.gii", \
78-
'rh.central.structural.gii', \
79-
'lh.pbt.structural', 'rh.pbt.structural']
80-
>>> extract_additional_measures = ExtractAdditionalSurfaceParameters(left_central_surfaces=lh_path_central, \
81-
surface_files=surf_files)
76+
>>> surf_files = ['lh.sphere.reg.structural.gii', 'rh.sphere.reg.structural.gii', 'lh.sphere.structural.gii', 'rh.sphere.structural.gii', 'rh.central.structural.gii', 'lh.pbt.structural', 'rh.pbt.structural']
77+
>>> extract_additional_measures = ExtractAdditionalSurfaceParameters(left_central_surfaces=lh_path_central, surface_files=surf_files)
8278
>>> extract_additional_measures.run() # doctest: +SKIP
8379
8480
"""
@@ -166,21 +162,11 @@ class ExtractROIBasedSurfaceMeasures(SPMCommand):
166162
Examples
167163
--------
168164
>>> # Template surface files
169-
>>> lh_atlas = "lh.aparc_a2009s.freesurfer.annot"
170-
>>> rh_atlas = "rh.aparc_a2009s.freesurfer.annot"
171-
172-
>>> # Put here all surface files generated by CAT12 Segment, this is only required if the this approach is putted in a Node
173-
>>> surf_files = ["lh.sphere.reg.structural.gii", "rh.sphere.reg.structural.gii", \
174-
"lh.sphere.structural.gii", "rh.sphere.structural.gii", \
175-
'lh.central.structural.gii', 'rh.central.structural.gii', \
176-
'lh.pbt.structural', 'rh.pbt.structural']
177-
# Set the path to the left hemisphere measure file, both will be processed
178-
>>> lh_measure = "lh.area.structural"
179-
180-
>>> extract_additional_measures = ExtractROIBasedSurfaceMeasures(surface_files=surf_files, \
181-
lh_surface_measure=lh_measure, \
182-
lh_roi_atlas=lh_atlas, \
183-
rh_roi_atlas=rh_atlas)
165+
>>> lh_atlas = 'lh.aparc_a2009s.freesurfer.annot'
166+
>>> rh_atlas = 'rh.aparc_a2009s.freesurfer.annot'
167+
>>> surf_files = ['lh.sphere.reg.structural.gii', 'rh.sphere.reg.structural.gii', 'lh.sphere.structural.gii', 'rh.sphere.structural.gii', 'lh.central.structural.gii', 'rh.central.structural.gii', 'lh.pbt.structural', 'rh.pbt.structural']
168+
>>> lh_measure = 'lh.area.structural'
169+
>>> extract_additional_measures = ExtractROIBasedSurfaceMeasures(surface_files=surf_files, lh_surface_measure=lh_measure, lh_roi_atlas=lh_atlas, rh_roi_atlas=rh_atlas)
184170
>>> extract_additional_measures.run() # doctest: +SKIP
185171
186172

0 commit comments

Comments
 (0)