Skip to content

Commit

Permalink
Fixups for QG.write_configs
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Salnikov <salnikov@slac.stanford.edu>
  • Loading branch information
TallJimbo and andy-slac committed Sep 12, 2024
1 parent 1e91d07 commit 562d48c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/pipe/base/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]] = []
Expand All @@ -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))
Expand Down

0 comments on commit 562d48c

Please sign in to comment.