Commit b3039319 authored by Fernando Perez-Garcia's avatar Fernando Perez-Garcia

Do not run BF correction for wolm

For some reason, N4ITK gets stuck for this subject.
parent dd468eba
......@@ -566,12 +566,15 @@ class Subject(object):
out_res_path,
)
print('Running bias field correction...')
remove_bias(
input_path=out_res_path,
mask_path=mni.brain_mask_path,
output_path=out_res_path,
)
if self.id == 'wolm':
print('Skipping bias field correction...')
else:
print('Running bias field correction...')
remove_bias(
input_path=out_res_path,
mask_path=mni.brain_mask_path,
output_path=out_res_path,
)
# Whiten T1 GAD using head mask
print('Whitening T1 GAD MRI...')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment