File tree 3 files changed +15
-12
lines changed
3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ dependencies:
7
7
- " ~/docker"
8
8
9
9
pre :
10
- - pip install coverage
11
10
- mkdir -p "~/scratch/nose"
11
+
12
12
override :
13
13
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
14
14
- docker build -t nipype/testbench:latest . :
Original file line number Diff line number Diff line change 264
264
datasource = pe .Node (nio .DataGrabber (infields = ['subject_id' ],
265
265
outfields = ['func' , 'struct' ]),
266
266
name = 'datasource' )
267
- datasource .inputs .template = '%s/%s.nii'
267
+ datasource .inputs .template = 'nipype-tutorial/data/ %s/%s.nii'
268
268
datasource .inputs .template_args = info
269
269
datasource .inputs .sort_filelist = True
270
270
275
275
outfields = ['struct' ]),
276
276
name = 'datasource_dartel' ,
277
277
iterfield = ['subject_id' ])
278
- datasource_dartel .inputs .template = '%s/%s.nii'
278
+ datasource_dartel .inputs .template = 'nipype-tutorial/data/ %s/%s.nii'
279
279
datasource_dartel .inputs .template_args = dict (struct = [['subject_id' , 'struct' ]])
280
280
datasource_dartel .inputs .sort_filelist = True
281
281
datasource_dartel .inputs .subject_id = subject_list
Original file line number Diff line number Diff line change 56
56
and shared across users, projects and labs.
57
57
58
58
59
- Setup preprocessing workflow
60
- ----------------------------
59
+ Example of how to inline functions in connect()
60
+ -----------------------------------------------
61
+
62
+ """
63
+ def _template_path (in_data ):
64
+ return op .abspath (op .join (in_data , 'nipype-tutorial/data/T1.nii' ))
65
+
66
+
67
+ """
68
+
69
+ Set-up preprocessing workflow
70
+ -----------------------------
61
71
62
72
This is a generic preprocessing workflow that can be used by different analyses
63
73
@@ -482,13 +492,6 @@ def getstripdir(subject_id):
482
492
('residual_image' , 'residual_image' )]),
483
493
])
484
494
485
- """
486
- Inlining functions in connect()
487
- -------------------------------
488
- """
489
- def _template_path (in_data ):
490
- return op .abspath (op .join (in_data , 'nipype-tutorial/data/T1.nii' ))
491
-
492
495
493
496
"""
494
497
Execute the second level pipeline
You can’t perform that action at this time.
0 commit comments