From f09ac5f0c347dbe6df3f4dff6098e4bac2fdaa81 Mon Sep 17 00:00:00 2001 From: Oscar Esteban Date: Wed, 27 May 2020 11:46:43 -0700 Subject: [PATCH] fix: ``MultiLabel`` interpolations should not use ``float=True`` --- smriprep/workflows/norm.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/smriprep/workflows/norm.py b/smriprep/workflows/norm.py index f13125be18..339710fdd5 100644 --- a/smriprep/workflows/norm.py +++ b/smriprep/workflows/norm.py @@ -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'),