Skip to content

Commit c2e6a52

Browse files
author
bpinsard
committed
try to fix dartel_template format bug
1 parent 7b02c72 commit c2e6a52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,6 +1340,8 @@ def _format_arg(self, opt, spec, val):
13401340
elif opt in ['spatial_normalization']:
13411341
if val == 'low':
13421342
return {'normlow': []}
1343+
elif opt in ['dartel_template']:
1344+
return scans_for_fnames(val, keep4d=True)
13431345
elif opt in ['deformation_field']:
13441346
return super(VBMSegment, self)._format_arg(opt, spec, [int(val[0]), int(val[1])])
13451347
else:

0 commit comments

Comments
 (0)