From 562d48caece01c2b1f5bdee22bb2332d9e72ff22 Mon Sep 17 00:00:00 2001 From: Jim Bosch Date: Thu, 12 Sep 2024 10:01:30 -0400 Subject: [PATCH] Fixups for QG.write_configs Co-authored-by: Andy Salnikov --- python/lsst/pipe/base/graph/graph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/lsst/pipe/base/graph/graph.py b/python/lsst/pipe/base/graph/graph.py index 6f3aacf35..0cce2b3d7 100644 --- a/python/lsst/pipe/base/graph/graph.py +++ b/python/lsst/pipe/base/graph/graph.py @@ -1569,7 +1569,7 @@ def write_configs(self, butler: LimitedButler, compare_existing: bool = True) -> ------ lsst.daf.butler.registry.ConflictingDefinitionError Raised if an config dataset already exists and - ``skip_existing=False``, or if the existing config is not + ``compare_existing=False``, or if the existing config is not consistent with the config in the quantum graph. """ to_put: list[tuple[PipelineTaskConfig, DatasetRef]] = [] @@ -1590,7 +1590,7 @@ def write_configs(self, butler: LimitedButler, compare_existing: bool = True) -> if not task_node.config.compare(old_config, shortcut=False, output=log_config_mismatch): raise ConflictingDefinitionError( f"Config does not match existing task config {dataset_type_name!r} in " - "butler; tasks configurations must be consistent within the same run collection" + "butler; tasks configurations must be consistent within the same run collection." ) else: to_put.append((task_node.config, ref))