Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: John Kerl <kerl.john.r@gmail.com>
  • Loading branch information
nguyenv and johnkerl authored Nov 5, 2024
1 parent a30f45c commit 89cd943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/python/src/tiledbsoma/_dense_nd_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def write(
"""
_util.check_type("values", values, (pa.Tensor,))

sr = self._handle._handle
clib_handle = self._handle._handle

# Compute the coordinates for the dense array.
new_coords: List[Union[int, Slice[int], None]] = []
Expand Down Expand Up @@ -331,7 +331,7 @@ def write(

tiledb_write_options = TileDBWriteOptions.from_platform_config(platform_config)
if tiledb_write_options.consolidate_and_vacuum:
sr.consolidate_and_vacuum()
clib_handle.consolidate_and_vacuum()
return self

def resize(self, newshape: Sequence[Union[int, None]]) -> None:
Expand Down

0 comments on commit 89cd943

Please sign in to comment.