Skip to content

Commit

Permalink
fix: MultiLabel interpolations should not use float=True
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed May 27, 2020
1 parent 2ccfaaf commit f09ac5f
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 f09ac5f

Please sign in to comment.