Skip to content

Commit

Permalink
Fix crop size warning (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
tayden authored Jan 17, 2024
1 parent 52df121 commit 568cfe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kelp_o_matic/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ def _block_tiles_check(self):
warnings.warn(
"Suboptimal crop_size and padding were specified. Performance "
"will be degraded. The detected block shape for this band is "
"({y_shape}, {x_shape}). Faster performance may be achieved by setting "
"the crop_size and the padding such that (crop_size + 2*padding) is a "
"multiple of {y_shape}.",
f"({y_shape}, {x_shape}). Faster performance may be achieved by "
"setting the crop_size and the padding such that "
f"(crop_size + 2*padding) is a multiple of {y_shape}.",
UserWarning,
)

Expand Down

0 comments on commit 568cfe2

Please sign in to comment.