Skip to content

Commit d59a09c

Browse files
authored
FIX: check value type against tuple, not Tuple
1 parent 59718d8 commit d59a09c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2582,7 +2582,7 @@ class Volreg(AFNICommand):
25822582
output_spec = VolregOutputSpec
25832583

25842584
def _format_arg(self, name, trait_spec, value):
2585-
if name == 'in_weight_volume' and not isinstance(value, Tuple):
2585+
if name == 'in_weight_volume' and not isinstance(value, tuple):
25862586
value = (value, 0)
25872587
return super(Volreg, self)._format_arg(name, trait_spec, value)
25882588

0 commit comments

Comments
 (0)