From da2a684944d91d5df1131b7c36eff8ddf8046597 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 30 May 2017 15:26:16 -0400 Subject: [PATCH 1/2] Update nipype pin --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8d44821fffa..d84184e9725 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ --e git+https://github.com/nipy/nipype.git@c13f967506aa426c63ad4131cf29b655f742649c#egg=nipype +-e git+https://github.com/nipy/nipype.git@603f424a379767abffa055283b799d69b840a58d#egg=nipype From 55e64f8e2be1e080852b9fff539447059220ad92 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 30 May 2017 15:27:26 -0400 Subject: [PATCH 2/2] ENH: Use N4BiasFieldCorrection(copy_header=True) --- niworkflows/anat/skullstrip.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/niworkflows/anat/skullstrip.py b/niworkflows/anat/skullstrip.py index 6a7c5a09dc0..bc289b23f32 100644 --- a/niworkflows/anat/skullstrip.py +++ b/niworkflows/anat/skullstrip.py @@ -28,7 +28,8 @@ def afni_wf(name='AFNISkullStripWorkflow', unifize=False, n4_nthreads=1): fields=['bias_corrected', 'out_file', 'out_mask', 'bias_image']), name='outputnode') inu_n4 = pe.Node( - ants.N4BiasFieldCorrection(dimension=3, save_bias=True, num_threads=n4_nthreads), + ants.N4BiasFieldCorrection(dimension=3, save_bias=True, num_threads=n4_nthreads, + copy_header=True), n_procs=n4_nthreads, name='inu_n4')