File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -572,17 +572,17 @@ class SelectFiles(IOBase):
572
572
This interface uses the {}-based string formatting syntax to plug
573
573
values (possibly known only at workflow execution time) into string
574
574
templates and collect files from persistant storage. These templates
575
- can also be combined with glob wildcards. The names used in the
576
- formatting template should correspond to the input fields given
577
- when you instantiate the interface, and the outputs are formed by the
578
- keys in the `templates` dictionary .
575
+ can also be combined with glob wildcards. The field names in the
576
+ formatting template (i.e. the terms in braces) will become inputs
577
+ fields on the interface, and the keys in the templates dictionary
578
+ will form the output fields .
579
579
580
580
Examples
581
581
--------
582
582
583
583
>>> from nipype import SelectFiles, Node
584
584
>>> templates={"T1": "{subject_id}/struct/T1.nii",
585
- ... "epi": "{subject_id}/func/f[0,1].nii"}
585
+ ... "epi": "{subject_id}/func/f[0, 1].nii"}
586
586
>>> dg = Node(SelectFiles(templates), "selectfiles")
587
587
>>> dg.inputs.subject_id = "subj1"
588
588
>>> dg.outputs.get()
You can’t perform that action at this time.
0 commit comments