Skip to content

Commit

Permalink
Merge remote-tracking branch 'yotamyaniv/sitkcompressed'
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Oct 6, 2023
2 parents 8a8bfd0 + 82e825d commit ef4e3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nnunetv2/imageio/simpleitk_reader_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ def write_seg(self, seg: np.ndarray, output_fname: str, properties: dict) -> Non
itk_image.SetOrigin(properties['sitk_stuff']['origin'])
itk_image.SetDirection(properties['sitk_stuff']['direction'])

sitk.WriteImage(itk_image, output_fname)
sitk.WriteImage(itk_image, output_fname, True)

0 comments on commit ef4e3da

Please sign in to comment.