Skip to content

Commit

Permalink
update use of reproject kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
keflavich committed Dec 3, 2023
1 parent 0fe2ae1 commit d77d263
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spectral_cube/cube_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,9 +1002,9 @@ def update(self, n=1):
output_footprint=output_footprint,
reproject_function=reproject_interp,
progressbar=tqdm if verbose else False,
block_size=(None if spectral_block_size is None else
[(spectral_block_size, cube.shape[1], cube.shape[2])
for cube in cubes]),
block_sizes=(None if spectral_block_size is None else
[(spectral_block_size, cube.shape[1], cube.shape[2])
for cube in cubes]),
)
except TypeError as ex:
# print the exception in case we caught a different TypeError than expected
Expand Down

0 comments on commit d77d263

Please sign in to comment.