You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/usr/bin/env python
import tiledbsoma
import tiledb
import sys
uri = '/var/p'
if len(sys.argv) == 2:
uri = sys.argv[1]
# ----------------------------------------------------------------
with tiledbsoma.Experiment.open(uri) as exp:
tiledb.stats_enable()
tiledb.stats_reset()
print(exp.obs.read().concat())
print("SOBS WAY 1")
tiledb.stats_dump()
print("SOBS WAY 2")
ctx = exp.context.tiledb_ctx
ctx.get_stats()
# ----------------------------------------------------------------
with tiledbsoma.Experiment.open(uri) as exp:
with tiledb.open(exp.obs.uri) as A:
tiledb.stats_enable()
tiledb.stats_reset()
print(A.df[:])
print("TOBS WAY")
tiledb.stats_dump()
I've run this with tiledbsoma 1.5.0, 1.4.4, and 1.2.0 -- same results.
TileDB-SOMA-Py / TIleDB-Py repro script:
I've run this with tiledbsoma 1.5.0, 1.4.4, and 1.2.0 -- same results.
Output (using 1.2.0 for example): https://gist.github.com/johnkerl/915b184fc5cf22e59ebd77012cbb355b
Key point:
dowork
appears withtiledb.open
and query, but not viatiledbsoma
.cc @nguyenv @bkmartinjr @KiterLuc
Here is a TileDB-SOMA-R gist showing that when we do a query using TileDB-SOMA-R, we do get
dowork
which signals the presence of query stats: https://gist.github.com/johnkerl/862a4749231274e38ffca2f76014f616The text was updated successfully, but these errors were encountered: