Skip to content

Commit

Permalink
tif --> tiff
Browse files Browse the repository at this point in the history
Signed-off-by: Margaret Duff <[email protected]>
  • Loading branch information
MargaretDuff committed Sep 4, 2024
1 parent 435e93f commit b405afe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Wrappers/Python/cil/optimisation/utilities/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ def __call__(self, algo):

if algo.iteration % self.interval ==0:
if self.roi is None:
TIFFWriter(data=algo.solution, file_name=self.file_path+f'_{algo.iteration:04d}.tif', counter_offset=-1,compression=self.compression ).write()
TIFFWriter(data=algo.solution, file_name=self.file_path+f'_{algo.iteration:04d}.tiff', counter_offset=-1,compression=self.compression ).write()
else:
self.slicer.set_input(algo.solution)
TIFFWriter(self.slicer.get_output(), file_name=self.file_path+f'_{algo.iteration:04d}.tif', counter_offset=-1,compression=self.compression ).write()
TIFFWriter(self.slicer.get_output(), file_name=self.file_path+f'_{algo.iteration:04d}.tiff', counter_offset=-1,compression=self.compression ).write()


0 comments on commit b405afe

Please sign in to comment.