Skip to content

Commit bc6adbe

Browse files
committed
Tweak SelectFiles docstring up reflect changes
1 parent 70a2a06 commit bc6adbe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

nipype/interfaces/io.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)