2222 InputMultiPath ,
2323 Undefined ,
2424 Str ,
25+ Tuple ,
2526)
2627from ...external .due import BibTeX
2728
@@ -127,7 +128,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
127128 "that 'gotforit' is needed to ignore." ,
128129 argstr = "-allzero_OK" ,
129130 )
130- dname = traits . Tuple (
131+ dname = Tuple (
131132 Str , Str , desc = "set environmental variable to provided value" , argstr = "-D%s=%s"
132133 )
133134 mask = File (
@@ -162,7 +163,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
162163 "[default: 1]" ,
163164 argstr = "-polort %d" ,
164165 )
165- ortvec = traits . Tuple (
166+ ortvec = Tuple (
166167 File (desc = "filename" , exists = True ),
167168 Str (desc = "label" ),
168169 desc = "this option lets you input a rectangular array of 1 or more "
@@ -213,7 +214,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
213214 desc = "number of stimulus timing files" , argstr = "-num_stimts %d" , position = - 6
214215 )
215216 stim_times = traits .List (
216- traits . Tuple (
217+ Tuple (
217218 traits .Int (desc = "k-th response model" ),
218219 File (desc = "stimulus timing file" , exists = True ),
219220 Str (desc = "model" ),
@@ -223,9 +224,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
223224 position = - 5 ,
224225 )
225226 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" )),
229228 desc = "label for kth input stimulus (e.g., Label1)" ,
230229 argstr = "-stim_label %d %s..." ,
231230 requires = ["stim_times" ],
@@ -251,9 +250,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
251250 position = - 2 ,
252251 )
253252 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" )),
257254 desc = "general linear test (i.e., contrast) labels" ,
258255 argstr = "-glt_label %d %s..." ,
259256 requires = ["gltsym" ],
@@ -488,9 +485,7 @@ class RemlfitInputSpec(AFNICommandInputSpec):
488485 argstr = "-nobout" ,
489486 )
490487 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 ())),
494489 desc = "read a symbolic GLT from input file and associate it with a "
495490 "label. As in Deconvolve, you can also use the 'SYM:' method "
496491 "to provide the definition of the GLT directly as a string "
0 commit comments