Skip to content

Commit 56d89f6

Browse files
committed
fix example in KellyKapowski
1 parent 2b4ad4f commit 56d89f6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

nipype/interfaces/ants/segmentation.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,12 +1157,10 @@ def _list_outputs(self):
11571157

11581158

11591159
class KellyKapowskiInputSpec(ANTSCommandInputSpec):
1160-
dimension = traits.Enum(3, 2, argstr='--image-dimensionality %d',
1161-
usedefault=True,
1160+
dimension = traits.Enum(3, 2, argstr='--image-dimensionality %d', usedefault=True,
11621161
desc='image dimension (2 or 3)')
11631162

1164-
segmentation_image = File(exists=True, argstr='--segmentation-image "%s"',
1165-
mandatory=True,
1163+
segmentation_image = File(exists=True, argstr='--segmentation-image "%s"', mandatory=True,
11661164
desc="A segmentation image must be supplied labeling the gray and white matters.\n"
11671165
"Default values = 2 and 3, respectively.",)
11681166

@@ -1234,7 +1232,7 @@ class KellyKapowski(ANTSCommand):
12341232
12351233
Examples
12361234
--------
1237-
>>> from pypes.interfaces.ants import KellyKapowski
1235+
>>> from nipype.interfaces.ants.segmentation import KellyKapowski
12381236
>>> kk = KellyKapowski()
12391237
>>> kk.inputs.dimension = 3
12401238
>>> kk.inputs.segmentation_image = "anat_hc_gm_wm.nii.gz"

0 commit comments

Comments
 (0)