From d2cd3e4859709b3723d26736ade3db18734aec9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Tue, 17 Oct 2023 17:41:02 +0200 Subject: [PATCH] Bug with shrink factors --- narps_open/pipelines/team_08MQ.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/narps_open/pipelines/team_08MQ.py b/narps_open/pipelines/team_08MQ.py index d9e87d45..3d1d36a4 100644 --- a/narps_open/pipelines/team_08MQ.py +++ b/narps_open/pipelines/team_08MQ.py @@ -83,8 +83,12 @@ def get_preprocessing(self): normalization_anat.inputs.transforms = ['Rigid', 'Affine', 'SyN'] normalization_anat.inputs.metric = ['MI', 'MI', 'CC'] normalization_anat.inputs.metric_weight = [1.0 / 3.0, 1.0 / 3.0, 1.0 / 3.0] - normalization_anat.inputs.shrink_factors = [1, 1, 1] - normalization_anat.inputs.smoothing_sigmas = [0.0, 0.0, 0.0] + normalization_anat.inputs.shrink_factors = [[1,1,1], [1,1,1], [1,1,1]] + normalization_anat.inputs.smoothing_sigmas = [ + [0.0, 0.0, 0.0], + [0.0, 0.0, 0.0], + [0.0, 0.0, 0.0] + ] # Threshold Node - create white-matter mask threshold_white_matter = Node(Threshold(), name = 'threshold_white_matter')