Skip to content

Commit

Permalink
Merge pull request #744 from effigies/fix/bold_pe
Browse files Browse the repository at this point in the history
FIX: 'i-' and j-' are valid PE directions
  • Loading branch information
oesteban committed Oct 8, 2017
2 parents bf906d7 + eb79ba7 commit cbe32e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmriprep/workflows/bold.py
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ def init_nonlinear_sdc_wf(bold_file, freesurfer, bold2t1w_dof,
'out_warp_report', 'out_mask_report']),
name='outputnode')

if bold_pe is None or bold_pe not in ['i', 'j']:
if bold_pe is None or bold_pe[0] not in ['i', 'j']:
LOGGER.warning('Incorrect phase-encoding direction, assuming PA (posterior-to-anterior')
bold_pe = 'j'

Expand Down

0 comments on commit cbe32e0

Please sign in to comment.