From f2e86b9c4612084c2ea028eba220333c5f63981d 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 b9822a204..a6ff94826 100644 --- a/python/lsst/pipe/base/graph/graph.py +++ b/python/lsst/pipe/base/graph/graph.py @@ -1568,7 +1568,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]] = [] @@ -1589,7 +1589,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))