We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe3dd07 commit 7ed854fCopy full SHA for 7ed854f
nipype/interfaces/io.py
@@ -2887,14 +2887,11 @@ class ExportFile(SimpleInterface):
2887
Examples
2888
--------
2889
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
-
2894
>>> from nipype.interfaces.io import ExportFile
2895
>>> import os.path as op
2896
>>> ef = ExportFile()
2897
- >>> ef.inputs.in_file = "temporary_file.nii.gz"
+ >>> ef.inputs.in_file = "T1.nii.gz"
+ >>> os.mkdir("output_folder")
2898
>>> ef.inputs.out_file = op.abspath("output_folder/sub1_out.nii.gz")
2899
>>> ef.run()
2900
0 commit comments