diff --git a/surfa/io/framed.py b/surfa/io/framed.py index 518c1a5..3a25ae6 100644 --- a/surfa/io/framed.py +++ b/surfa/io/framed.py @@ -474,7 +474,7 @@ def save(self, arr, filename, intent=FramedArrayIntents.mri): # gcamorph meta (mgz warp: int int float) fsio.write_tag(file, fsio.tags.gcamorph_meta, 12) write_bytes(file, arr.format, dtype='>i4') - write_bytes(file, arr.metadata.get('spacing', 0), dtype='>i4') + write_bytes(file, arr.metadata.get('spacing', 1), dtype='>i4') write_bytes(file, arr.metadata.get('exp_k', 0.0), dtype='>f4') # write history tags