Skip to content

Commit ef4e3da

Browse files
committed
Merge remote-tracking branch 'yotamyaniv/sitkcompressed'
2 parents 8a8bfd0 + 82e825d commit ef4e3da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nnunetv2/imageio/simpleitk_reader_writer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ def write_seg(self, seg: np.ndarray, output_fname: str, properties: dict) -> Non
126126
itk_image.SetOrigin(properties['sitk_stuff']['origin'])
127127
itk_image.SetDirection(properties['sitk_stuff']['direction'])
128128

129-
sitk.WriteImage(itk_image, output_fname)
129+
sitk.WriteImage(itk_image, output_fname, True)

0 commit comments

Comments
 (0)