From bd93cdd5f2b569e003c0d5f251c5afec93b03759 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Tue, 9 Apr 2024 10:33:59 -0400 Subject: [PATCH] [python] Pass more context in registrar (#2411) --- .../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