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 <[email protected]>
  • Loading branch information
TallJimbo and andy-slac authored Sep 12, 2024
1 parent 048018f commit f2e86b9
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 @@ -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]] = []
Expand All @@ -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))
Expand Down

0 comments on commit f2e86b9

Please sign in to comment.