We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e610a9d commit 4265da3Copy full SHA for 4265da3
nipype/interfaces/afni/preprocess.py
@@ -2601,13 +2601,13 @@ class TShiftInputSpec(AFNICommandInputSpec):
2601
desc='different interpolation methods (see 3dTshift for details) '
2602
'default = Fourier',
2603
argstr='-%s')
2604
- tpattern = traits.Enum(
2605
- 'alt+z', 'altplus', # Synonyms
2606
- 'alt+z2',
2607
- 'alt-z', 'altminus', # Synonyms
2608
- 'alt-z2',
2609
- 'seq+z', 'seqplus', # Synonyms
2610
- 'seq-z', 'seqminus', # Synonyms
+ tpattern = traits.Either(
+ traits.Enum('alt+z', 'altplus', # Synonyms
+ 'alt+z2',
+ 'alt-z', 'altminus', # Synonyms
+ 'alt-z2',
+ 'seq+z', 'seqplus', # Synonyms
+ 'seq-z', 'seqminus'), # Synonyms
2611
Str, # For backwards compatibility
2612
desc='use specified slice time pattern rather than one in header',
2613
argstr='-tpattern %s',
0 commit comments