Skip to content

Commit a7de7c1

Browse files
Update tiledb/dense_array.py
Co-authored-by: nguyenv <[email protected]>
1 parent ab4ac0a commit a7de7c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiledb/dense_array.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def subarray(self, selection, attrs=None, cond=None, coords=False, order=None):
268268
attr = self.schema.attr(0)
269269
if attr.isanon:
270270
return out[attr._internal_name]
271-
if self.view_attr:
271+
if self.view_attr is not None:
272272
return out[self.view_attr]
273273
return out
274274

0 commit comments

Comments
 (0)