We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9de427 commit bc32b8bCopy full SHA for bc32b8b
fmriprep/utils/misc.py
@@ -24,7 +24,8 @@ def split_and_rm_rotshear_func(in_file):
24
imgs = nb.four_to_three(nb.load(in_file))
25
for i, img in enumerate(imgs):
26
out_file = os.path.abspath('vol%04d.nii.gz' % i)
27
- img = remove_rotation_and_shear(img)
+ img = remove_rotation_and_shear(
28
+ nb.as_closest_canonical(img))
29
img.to_filename(out_file)
30
out_files.append(out_file)
31
return out_files
0 commit comments