Skip to content

Commit 27c9448

Browse files
authored
FIX: Cast TraitList to a list
1 parent daf1f25 commit 27c9448

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
@@ -2742,7 +2742,7 @@ def _format_arg(self, name, trait_spec, value):
27422742
return super(TShift, self)._format_arg(name, trait_spec, value)
27432743

27442744
def _write_slice_timing(self):
2745-
slice_timing = self.inputs.slice_timing.copy()
2745+
slice_timing = list(self.inputs.slice_timing)
27462746
if self.inputs.slice_encoding_direction.endswith("-"):
27472747
slice_timing.reverse()
27482748

0 commit comments

Comments
 (0)