Skip to content

Commit

Permalink
Merge pull request #196 from poldracklab/oesteban-patch-1
Browse files Browse the repository at this point in the history
FIX: ``MultiLabel`` interpolations should not use ``float=True``
  • Loading branch information
oesteban authored May 27, 2020
2 parents 2ccfaaf + f09ac5f commit 545db34
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions smriprep/workflows/norm.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,9 @@ def init_anat_norm_wf(
tpl_moving = pe.Node(ApplyTransforms(
dimension=3, default_value=0, float=True,
interpolation='LanczosWindowedSinc'), name='tpl_moving')
std_mask = pe.Node(ApplyTransforms(dimension=3, default_value=0, float=True,
interpolation='MultiLabel'), name='std_mask')

std_dseg = pe.Node(ApplyTransforms(dimension=3, default_value=0, float=True,
interpolation='MultiLabel'), name='std_dseg')
std_mask = pe.Node(ApplyTransforms(interpolation='MultiLabel'), name='std_mask')
std_dseg = pe.Node(ApplyTransforms(interpolation='MultiLabel'), name='std_dseg')

std_tpms = pe.MapNode(ApplyTransforms(dimension=3, default_value=0, float=True,
interpolation='Gaussian'),
Expand Down

0 comments on commit 545db34

Please sign in to comment.