Skip to content

Commit 7ed854f

Browse files
committed
bugfixes in docstring
1 parent fe3dd07 commit 7ed854f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

nipype/interfaces/io.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2887,14 +2887,11 @@ class ExportFile(SimpleInterface):
28872887
Examples
28882888
--------
28892889
2890-
A trivial example that copies temporary_file.nii.gz
2891-
to sub1_out.nii.gz. (A more realistic example would set
2892-
in_file as the output of another Node.)
2893-
28942890
>>> from nipype.interfaces.io import ExportFile
28952891
>>> import os.path as op
28962892
>>> ef = ExportFile()
2897-
>>> ef.inputs.in_file = "temporary_file.nii.gz"
2893+
>>> ef.inputs.in_file = "T1.nii.gz"
2894+
>>> os.mkdir("output_folder")
28982895
>>> ef.inputs.out_file = op.abspath("output_folder/sub1_out.nii.gz")
28992896
>>> ef.run()
29002897

0 commit comments

Comments
 (0)