From a6510988625c31af00b924dfaf66548a673d1068 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Mon, 8 Apr 2024 23:17:34 -0400 Subject: [PATCH] [python] Pass more context in registrar --- .../src/tiledbsoma/io/_registration/ambient_label_mappings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/python/src/tiledbsoma/io/_registration/ambient_label_mappings.py b/apis/python/src/tiledbsoma/io/_registration/ambient_label_mappings.py index e12d971891..bb619fc870 100644 --- a/apis/python/src/tiledbsoma/io/_registration/ambient_label_mappings.py +++ b/apis/python/src/tiledbsoma/io/_registration/ambient_label_mappings.py @@ -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