Skip to content

Commit

Permalink
Add john's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronwolen committed Jul 10, 2024
1 parent 9b5589c commit 339e5fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/tiledb/cloud/soma/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,15 @@ def build_collection_mapper_workflow_graph(
% soma_collection_uri
)

# Alternative:
#
# with tiledbsoma.Collection.open(soma_collection_uri) as soco:
# soma_experiment_uris = {k: v.uri for k, v in soco.items()}
#
# -- however, that opens all the members sequentially, and we don't need
# that overhead here in the launcher node.
#
# See also: sc-49443
with tiledb.Group(soma_collection_uri) as grp:
soma_experiment_uris = {mbr.name: mbr.uri for mbr in grp}

Expand Down

0 comments on commit 339e5fd

Please sign in to comment.