Skip to content

Commit

Permalink
Revert "fix(stitch prediction): split sample tiles correctly"
Browse files Browse the repository at this point in the history
This reverts commit 31bd146.
  • Loading branch information
melisande-c committed Jun 24, 2024
1 parent 31bd146 commit c417c32
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/careamics/prediction_utils/stitch_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ def stitch_prediction(
last_tiles = [tile_info.last_tile for tile_info in tile_infos]
last_tile_position = np.where(last_tiles)[0]
image_slices = [
slice(
None if i == 0 else last_tile_position[i - 1] + 1, last_tile_position[i] + 1
)
slice(None if i == 0 else last_tile_position[i - 1], last_tile_position[i] + 1)
for i in range(len(last_tile_position))
]
image_predictions = []
Expand Down

0 comments on commit c417c32

Please sign in to comment.