Skip to content

Commit 10e56f9

Browse files
committed
General format.
1 parent bdacad1 commit 10e56f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/freesurfer/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,6 @@ def _serialize_volume_info(volume_info):
472472
key, val[0], val[1], val[2]).encode('utf-8'))
473473
else:
474474
val = volume_info[key]
475-
strings.append('{0} = {1:f} {2:f} {3:f}\n'.format(
475+
strings.append('{0} = {1:0.10g} {2:0.10g} {3:0.10g}\n'.format(
476476
key.ljust(6), val[0], val[1], val[2]).encode('utf-8'))
477477
return b''.join(strings)

0 commit comments

Comments
 (0)