Skip to content

Commit

Permalink
Properly formatted the assembled configuration in csc_state_transitio…
Browse files Browse the repository at this point in the history
…n.py.
  • Loading branch information
rbovill committed Jan 22, 2024
1 parent 1f49e98 commit 32b16d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/lsst/ts/IntegrationTests/csc_state_transition.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ def __init__(
self.csc = csc
self.state = state
self.added_config = additional_configuration
temp_config = {}
temp_config["data"] = [self.csc, self.state]
temp_config = [{self.csc}, {self.state}]
if self.added_config:
temp_config["data"].append(self.added_config)
self.configs = (yaml.safe_dump(temp_config),)
temp_config.append(self.added_config)
config = f"data:\n- {temp_config}"
self.configs = (yaml.safe_dump(config),)


def csc_state_transition() -> None:
Expand Down

0 comments on commit 32b16d9

Please sign in to comment.