Skip to content

Commit 70a85b9

Browse files
authored
Merge pull request #173 from effigies/rf/n4bias_interface
[RTM] ENH: Use N4BiasFieldCorrection(copy_header=True) in afni_wf
2 parents 252018b + 55e64f8 commit 70a85b9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

niworkflows/anat/skullstrip.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ def afni_wf(name='AFNISkullStripWorkflow', unifize=False, n4_nthreads=1):
2828
fields=['bias_corrected', 'out_file', 'out_mask', 'bias_image']), name='outputnode')
2929

3030
inu_n4 = pe.Node(
31-
ants.N4BiasFieldCorrection(dimension=3, save_bias=True, num_threads=n4_nthreads),
31+
ants.N4BiasFieldCorrection(dimension=3, save_bias=True, num_threads=n4_nthreads,
32+
copy_header=True),
3233
n_procs=n4_nthreads,
3334
name='inu_n4')
3435

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-e git+https://github.com/nipy/nipype.git@c13f967506aa426c63ad4131cf29b655f742649c#egg=nipype
1+
-e git+https://github.com/nipy/nipype.git@603f424a379767abffa055283b799d69b840a58d#egg=nipype

0 commit comments

Comments
 (0)