37
37
File ,
38
38
traits ,
39
39
SimpleInterface ,
40
- Directory ,
41
40
)
42
41
import templateflow .api as tf
43
42
@@ -168,7 +167,7 @@ def _run_interface(self, runtime):
168
167
return runtime
169
168
170
169
171
- def _prepare_cifti (surface_density : str ) -> typing .List [list , str , dict ]:
170
+ def _prepare_cifti (surface_density : str ) -> typing .Tuple [list , str , dict ]:
172
171
"""
173
172
Fetch the required templates needed for CIFTI-2 generation, based on input surface density.
174
173
@@ -265,8 +264,8 @@ def _prepare_cifti(surface_density: str) -> typing.List[list, str, dict]:
265
264
def _create_cifti_image (
266
265
bold_file : str ,
267
266
volume_label : str ,
268
- bold_surfs : typing .List [str , str ],
269
- surface_labels : typing .List [str , str ],
267
+ bold_surfs : typing .Tuple [str , str ],
268
+ surface_labels : typing .Tuple [str , str ],
270
269
tr : float ,
271
270
metadata : typing .Optional [dict ] = None ,
272
271
):
@@ -280,9 +279,9 @@ def _create_cifti_image(
280
279
volume_label
281
280
Subcortical label file
282
281
bold_surfs
283
- BOLD surface timeseries [ L,R]
282
+ BOLD surface timeseries ( L,R)
284
283
surface_labels
285
- Surface label files used to remove medial wall
284
+ Surface label files used to remove medial wall (L,R)
286
285
tr
287
286
BOLD repetition time
288
287
metadata
0 commit comments