22
22
InputMultiPath ,
23
23
Undefined ,
24
24
Str ,
25
+ Tuple ,
25
26
)
26
27
from ...external .due import BibTeX
27
28
@@ -127,7 +128,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
127
128
"that 'gotforit' is needed to ignore." ,
128
129
argstr = "-allzero_OK" ,
129
130
)
130
- dname = traits . Tuple (
131
+ dname = Tuple (
131
132
Str , Str , desc = "set environmental variable to provided value" , argstr = "-D%s=%s"
132
133
)
133
134
mask = File (
@@ -162,7 +163,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
162
163
"[default: 1]" ,
163
164
argstr = "-polort %d" ,
164
165
)
165
- ortvec = traits . Tuple (
166
+ ortvec = Tuple (
166
167
File (desc = "filename" , exists = True ),
167
168
Str (desc = "label" ),
168
169
desc = "this option lets you input a rectangular array of 1 or more "
@@ -213,7 +214,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
213
214
desc = "number of stimulus timing files" , argstr = "-num_stimts %d" , position = - 6
214
215
)
215
216
stim_times = traits .List (
216
- traits . Tuple (
217
+ Tuple (
217
218
traits .Int (desc = "k-th response model" ),
218
219
File (desc = "stimulus timing file" , exists = True ),
219
220
Str (desc = "model" ),
@@ -223,9 +224,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
223
224
position = - 5 ,
224
225
)
225
226
stim_label = traits .List (
226
- traits .Tuple (
227
- traits .Int (desc = "k-th input stimulus" ), Str (desc = "stimulus label" )
228
- ),
227
+ Tuple (traits .Int (desc = "k-th input stimulus" ), Str (desc = "stimulus label" )),
229
228
desc = "label for kth input stimulus (e.g., Label1)" ,
230
229
argstr = "-stim_label %d %s..." ,
231
230
requires = ["stim_times" ],
@@ -251,9 +250,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
251
250
position = - 2 ,
252
251
)
253
252
glt_label = traits .List (
254
- traits .Tuple (
255
- traits .Int (desc = "k-th general linear test" ), Str (desc = "GLT label" )
256
- ),
253
+ Tuple (traits .Int (desc = "k-th general linear test" ), Str (desc = "GLT label" )),
257
254
desc = "general linear test (i.e., contrast) labels" ,
258
255
argstr = "-glt_label %d %s..." ,
259
256
requires = ["gltsym" ],
@@ -488,9 +485,7 @@ class RemlfitInputSpec(AFNICommandInputSpec):
488
485
argstr = "-nobout" ,
489
486
)
490
487
gltsym = traits .List (
491
- traits .Either (
492
- traits .Tuple (File (exists = True ), Str ()), traits .Tuple (Str (), Str ())
493
- ),
488
+ traits .Either (Tuple (File (exists = True ), Str ()), Tuple (Str (), Str ())),
494
489
desc = "read a symbolic GLT from input file and associate it with a "
495
490
"label. As in Deconvolve, you can also use the 'SYM:' method "
496
491
"to provide the definition of the GLT directly as a string "
0 commit comments