@@ -835,16 +835,18 @@ class S3DataGrabber(LibraryBaseInterface, IOBase):
835
835
>>> s3grab = S3DataGrabber(infields=['subj_id'], outfields=["func", "anat"])
836
836
>>> s3grab.inputs.bucket = 'openneuro'
837
837
>>> s3grab.inputs.sort_filelist = True
838
- >>> s3grab.inputs.template = '*'
838
+ >>> s3grab.inputs.template = '*'
839
839
>>> s3grab.inputs.anon = True
840
- >>> s3grab.inputs.bucket_path = 'ds000101/ds000101_R2.0.0/uncompressed/'
841
- >>> s3grab.inputs.local_directory = '/tmp'
842
- >>> s3grab.inputs.field_template = {'anat': '%s/anat/%s_T1w.nii.gz', 'func': '%s/func/%s_task-simon_run-1_bold.nii.gz'}
843
- >>> s3grab.inputs.template_args = {'anat': [['subj_id', 'subj_id']], 'func': [['subj_id', 'subj_id']]}
840
+ >>> s3grab.inputs.bucket_path = 'ds000101/ds000101_R2.0.0/uncompressed/'
841
+ >>> s3grab.inputs.local_directory = '/tmp'
842
+ >>> s3grab.inputs.field_template = {'anat': '%s/anat/%s_T1w.nii.gz',
843
+ ... 'func': '%s/func/%s_task-simon_run-1_bold.nii.gz'}
844
+ >>> s3grab.inputs.template_args = {'anat': [['subj_id', 'subj_id']],
845
+ ... 'func': [['subj_id', 'subj_id']]}
844
846
>>> s3grab.inputs.subj_id = 'sub-01'
845
847
>>> s3grab.run() # doctest: +SKIP
846
848
"""
847
-
849
+
848
850
input_spec = S3DataGrabberInputSpec
849
851
output_spec = DynamicTraitedSpec
850
852
_always_run = True
0 commit comments