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):
572572 This interface uses the {}-based string formatting syntax to plug
573573 values (possibly known only at workflow execution time) into string
574574 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 .
579579
580580 Examples
581581 --------
582582
583583 >>> from nipype import SelectFiles, Node
584584 >>> 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"}
586586 >>> dg = Node(SelectFiles(templates), "selectfiles")
587587 >>> dg.inputs.subject_id = "subj1"
588588 >>> dg.outputs.get()
You can’t perform that action at this time.
0 commit comments