Skip to content

Commit 91a17a1

Browse files
author
bpinsard
committed
try to fix dartel_template format bug
1 parent c2e6a52 commit 91a17a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ def _format_arg(self, opt, spec, val):
13411341
if val == 'low':
13421342
return {'normlow': []}
13431343
elif opt in ['dartel_template']:
1344-
return scans_for_fnames(val, keep4d=True)
1344+
return np.array([val], dtype=object)
13451345
elif opt in ['deformation_field']:
13461346
return super(VBMSegment, self)._format_arg(opt, spec, [int(val[0]), int(val[1])])
13471347
else:

0 commit comments

Comments
 (0)