Skip to content

Commit

Permalink
fix print number of saved tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolebussola authored and Alessia Marcolini committed Jun 23, 2020
1 parent 42b1625 commit 3bd5293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/histolab/tiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def extract(self, slide: Slide):
tile_filename = self._tile_filename(tile_wsi_coords, tiles_counter)
tile.save(tile_filename)
print(f"\t Tile {tiles_counter} saved: {tile_filename}")
print(f"{tiles_counter} Random Tiles have been saved.")
print(f"{tiles_counter+1} Random Tiles have been saved.")

def _random_tile_coordinates(self, slide: Slide) -> CoordinatePair:
"""Return 0-level Coordinates of a tile picked at random within the box.
Expand Down

0 comments on commit 3bd5293

Please sign in to comment.