Skip to content

Commit 332cea1

Browse files
committed
reverted to 0.05mm threshold for rescaling
1 parent a0b7fdc commit 332cea1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

niworkflows/interfaces/images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ def _run_interface(self, runtime):
304304
# Common assumption; if we're wrong, unlikely to be the only thing that breaks
305305
xyz_unit = "mm"
306306

307-
# Set a 0.01mm threshold to performing rescaling
308-
atol = {"meter": 1e-5, "mm": 0.01, "micron": 10}[xyz_unit]
307+
# Set a 0.05mm threshold to performing rescaling
308+
atol = {"meter": 5e-5, "mm": 0.05, "micron": 50}[xyz_unit]
309309
# if 0.01 > difference > 0.001mm, freesurfer won't be able to merge the images
310310
atol_fine = {"meter": 1e-6, "mm": 0.001, "micron": 1}[xyz_unit]
311311

0 commit comments

Comments
 (0)