Skip to content

Commit 351bb3b

Browse files
committed
fix: change datasink subs
1 parent bc8358a commit 351bb3b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/fmri_openfmri.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def get_subs(subject_id, conds, model_id, task_id):
355355
subs = [('_subject_id_%s_' % subject_id, '')]
356356
subs.append(('_model_id_%d' % model_id, 'model%03d' %model_id))
357357
subs.append(('task_id_%d/' % task_id, '/task%03d_' % task_id))
358-
subs.append(('bold_dtype_mcf_mask_smooth_mask_gms_tempfilt_mean_warp_warp',
358+
subs.append(('bold_dtype_mcf_mask_smooth_mask_gms_tempfilt_mean_warp',
359359
'mean'))
360360
subs.append(('bold_dtype_mcf_mask_smooth_mask_gms_tempfilt_mean_flirt',
361361
'affine'))
@@ -366,10 +366,12 @@ def get_subs(subject_id, conds, model_id, task_id):
366366
subs.append(('_flameo%d/zstat1.' % i, 'zstat%02d.' % (i + 1)))
367367
subs.append(('_flameo%d/tstat1.' % i, 'tstat%02d.' % (i + 1)))
368368
subs.append(('_flameo%d/res4d.' % i, 'res4d%02d.' % (i + 1)))
369-
subs.append(('_warpall%d/cope1_warp_warp.' % i,
369+
subs.append(('_warpall%d/cope1_warp.' % i,
370370
'cope%02d.' % (i + 1)))
371-
subs.append(('_warpall%d/varcope1_warp_warp.' % (len(conds) + i),
371+
subs.append(('_warpall%d/varcope1_warp.' % (len(conds) + i),
372372
'varcope%02d.' % (i + 1)))
373+
subs.append(('_warpall%d/zstat1_warp.' % i,
374+
'zstat%02d.' % (i + 1)))
373375
return subs
374376

375377
subsgen = pe.Node(niu.Function(input_names=['subject_id', 'conds',

0 commit comments

Comments
 (0)