Skip to content

Commit

Permalink
chore: replaced deprecated method to open TileDB array (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
metakuni committed Mar 21, 2022
1 parent f9a8fc4 commit a9c5aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/dataset/cxg_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _validate_and_initialize(self):

@staticmethod
def _open_array(uri, tiledb_ctx):
with tiledb.Array(uri, mode="r", ctx=tiledb_ctx) as array:
with tiledb.open(uri, mode="r", ctx=tiledb_ctx) as array:
if array.schema.sparse:
return tiledb.SparseArray(uri, mode="r", ctx=tiledb_ctx)
else:
Expand Down

0 comments on commit a9c5aaf

Please sign in to comment.