File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -499,15 +499,14 @@ def segy_to_mdio( # noqa: C901
499499 zarr .consolidate_metadata (store_nocache )
500500
501501
502- def _calculate_live_mask_chunksize (grid : Grid ) -> Sequence [int ] | int :
502+ def _calculate_live_mask_chunksize (grid : Grid ) -> Sequence [int ]:
503503 """Calculate the optimal chunksize for the live mask.
504504
505505 Args:
506506 grid: The grid to calculate the chunksize for.
507507
508508 Returns:
509- Either a single integer (-1) if no chunking is needed, or a sequence of integers
510- representing the optimal chunk size for each dimension of the grid.
509+ A sequence of integers representing the optimal chunk size for each dimension of the grid.
511510 """
512511 # Use nbytes for the initial check, since we are limited by Blosc's maximum
513512 # chunk size in bytes.
You can’t perform that action at this time.
0 commit comments