https://github.com/single-cell-data/TileDB-SOMA/pull/2693 deprecated tiledb.Ctx in favor of clib.SOMAContext. When setting tiledb_config, we switched over to using the config in clib.SOMAContext. However, if the user passed in a tiledb_ctx, it would ignore it and not use the correct config. Since we are still allowing tiledb_ctx until it is removed in 1.14, ensure that we still pull the config from tiledb_ctx if that is what the user passed in.
Notes for Reviewer:
Passing this in as a tiledb_config works as expected.
Issue and/or context:
[sc-50154]
Changes:
https://github.com/single-cell-data/TileDB-SOMA/pull/2693 deprecated
tiledb.Ctx
in favor ofclib.SOMAContext
. When settingtiledb_config
, we switched over to using the config inclib.SOMAContext
. However, if the user passed in atiledb_ctx
, it would ignore it and not use the correct config. Since we are still allowingtiledb_ctx
until it is removed in 1.14, ensure that we still pull the config fromtiledb_ctx
if that is what the user passed in.Notes for Reviewer:
Passing this in as a
tiledb_config
works as expected.