@@ -37,7 +37,7 @@ to simply iterate over subjects.
37
37
38
38
However, in the context of complex workflows and given that users typically
39
39
arrange their imaging and other data in a semantically hierarchical data store,
40
- an alternate mechanism for reading and writing the data generated by a workflow
40
+ an alternative mechanism for reading and writing the data generated by a workflow
41
41
is often necessary. As the names suggest DataGrabber is used to get at data
42
42
stored in a shared file system while DataSink is used to store the data
43
43
generated by a workflow into a hierarchical structure on disk.
@@ -46,8 +46,8 @@ generated by a workflow into a hierarchical structure on disk.
46
46
DataGrabber
47
47
===========
48
48
49
- Datagrabber is an interface for collecting files from hard drive. It is very
50
- flexible and supports almost any file organisation of your data you can imagine.
49
+ DataGrabber is an interface for collecting files from hard drive. It is very
50
+ flexible and supports almost any file organization of your data you can imagine.
51
51
52
52
You can use it as a trivial use case of getting a fixed file. By default,
53
53
DataGrabber stores its outputs in a field called outfiles.
@@ -60,7 +60,7 @@ DataGrabber stores its outputs in a field called outfiles.
60
60
datasource1.inputs.template = 'data/s1/f3.nii'
61
61
results = datasource1.run()
62
62
63
- Or you can get at all uncompressed nifti files starting with the letter 'f' in
63
+ Or you can get at all uncompressed NIfTI files starting with the letter 'f' in
64
64
all directories starting with the letter 's'.
65
65
66
66
::
@@ -75,7 +75,7 @@ path matches of the form `/mass/data/s*/f*`.
75
75
76
76
.. note ::
77
77
78
- When used with wildcards (e.g., s* and f* above) Datagrabber does not return
78
+ When used with wildcards (e.g., s* and f* above) DataGrabber does not return
79
79
data in sorted order. In order to force it to return data in sorted order, one
80
80
needs to set the input `sorted = True `. However, when explicitly specifying an
81
81
order as we will see below, `sorted ` should be set to `False `.
@@ -108,7 +108,7 @@ A more realistic use-case
108
108
109
109
In a typical study one often wants to grab different files for a given subject
110
110
and store them in semantically meaningful outputs. In the following example, we
111
- wish to retrieve all the functional runs and the structural image for subject 's1'.
111
+ wish to retrieve all the functional runs and the structural image for the subject 's1'.
112
112
113
113
::
114
114
@@ -147,7 +147,7 @@ iterables that have been used in the workflow. This makes navigating the working
147
147
directory a not so pleasant experience. And typically the user is interested in
148
148
preserving only a small percentage of these outputs. The DataSink interface can
149
149
be used to extract components from this `cache ` and store it at a different
150
- location. For XNAT-based storage, see XNATSink.
150
+ location. For XNAT-based storage, see :class: ` nipype.interfaces.io. XNATSink` .
151
151
152
152
.. note ::
153
153
0 commit comments