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 a0b7fdc commit 332cea1Copy full SHA for 332cea1
niworkflows/interfaces/images.py
@@ -304,8 +304,8 @@ def _run_interface(self, runtime):
304
# Common assumption; if we're wrong, unlikely to be the only thing that breaks
305
xyz_unit = "mm"
306
307
- # Set a 0.01mm threshold to performing rescaling
308
- atol = {"meter": 1e-5, "mm": 0.01, "micron": 10}[xyz_unit]
+ # Set a 0.05mm threshold to performing rescaling
+ atol = {"meter": 5e-5, "mm": 0.05, "micron": 50}[xyz_unit]
309
# if 0.01 > difference > 0.001mm, freesurfer won't be able to merge the images
310
atol_fine = {"meter": 1e-6, "mm": 0.001, "micron": 1}[xyz_unit]
311
0 commit comments