We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e706408 commit 6d3138fCopy full SHA for 6d3138f
fmriprep/workflows/bold/stc.py
@@ -65,12 +65,15 @@ def init_bold_stc_wf(metadata, name='bold_stc_wf'):
65
66
LOGGER.log(25, 'Slice-timing correction will be included.')
67
68
+
69
# It would be good to fingerprint memory use of afni.TShift
70
slice_timing_correction = pe.Node(
71
afni.TShift(outputtype='NIFTI_GZ',
72
tr='{}s'.format(metadata["RepetitionTime"]),
73
slice_timing=metadata['SliceTiming']),
74
name='slice_timing_correction')
75
+ if 'SliceEncodingDirection' in metadata:
76
+ slice_timing_correction.inputs.slice_encoding_direction = metadata['SliceEncodingDirection']
77
78
copy_xform = pe.Node(CopyXForm(), name='copy_xform', mem_gb=0.1)
79
0 commit comments