From 11d53967ebbdcab3070ef94e0a0a7ac590dfafac Mon Sep 17 00:00:00 2001 From: John Kerl Date: Fri, 20 Sep 2024 20:42:57 -0400 Subject: [PATCH] [python] One more rename in prep for domainish pushdown (#3026) --- apis/python/src/tiledbsoma/_tdb_handles.py | 2 +- apis/python/src/tiledbsoma/soma_array.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/python/src/tiledbsoma/_tdb_handles.py b/apis/python/src/tiledbsoma/_tdb_handles.py index e9c1c34d42..80a059bee8 100644 --- a/apis/python/src/tiledbsoma/_tdb_handles.py +++ b/apis/python/src/tiledbsoma/_tdb_handles.py @@ -397,7 +397,7 @@ def maxdomain(self) -> Tuple[Tuple[object, object], ...]: return self._get_and_cast_domain(self._handle.soma_maxdomain_slot) def non_empty_domain(self) -> Tuple[Tuple[object, object], ...]: - return self._get_and_cast_domain(self._handle.non_empty_domain) or () + return self._get_and_cast_domain(self._handle.non_empty_domain_slot) or () @property def attr_names(self) -> Tuple[str, ...]: diff --git a/apis/python/src/tiledbsoma/soma_array.cc b/apis/python/src/tiledbsoma/soma_array.cc index 6cea6a2b4f..ddc5d6a6d6 100644 --- a/apis/python/src/tiledbsoma/soma_array.cc +++ b/apis/python/src/tiledbsoma/soma_array.cc @@ -669,7 +669,7 @@ void load_soma_array(py::module& m) { }) .def( - "non_empty_domain", + "non_empty_domain_slot", [](SOMAArray& array, std::string name, py::dtype dtype) { switch (np_to_tdb_dtype(dtype)) { case TILEDB_UINT64: