Skip to content

Commit

Permalink
[python] Pass more context in registrar (#2411) (#2416)
Browse files Browse the repository at this point in the history
Co-authored-by: John Kerl <[email protected]>
  • Loading branch information
github-actions[bot] and johnkerl authored Apr 9, 2024
1 parent a82f85e commit d1ee1a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def _acquire_experiment_mappings(
"""Acquires label-to-ID mappings from the baseline, already-written SOMA experiment."""

if experiment_uri is not None:
if not tiledbsoma.Experiment.exists(experiment_uri):
if not tiledbsoma.Experiment.exists(experiment_uri, context=context):
raise ValueError("cannot find experiment at URI {experiment_uri}")

# Pre-check
Expand Down

0 comments on commit d1ee1a4

Please sign in to comment.