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 bdacad1 commit 10e56f9Copy full SHA for 10e56f9
nibabel/freesurfer/io.py
@@ -472,6 +472,6 @@ def _serialize_volume_info(volume_info):
472
key, val[0], val[1], val[2]).encode('utf-8'))
473
else:
474
val = volume_info[key]
475
- strings.append('{0} = {1:f} {2:f} {3:f}\n'.format(
+ strings.append('{0} = {1:0.10g} {2:0.10g} {3:0.10g}\n'.format(
476
key.ljust(6), val[0], val[1], val[2]).encode('utf-8'))
477
return b''.join(strings)
0 commit comments