Skip to content

Commit

Permalink
Merge pull request #226 from lsst-ts/tickets/DM-46458
Browse files Browse the repository at this point in the history
Tickets/dm 46458: Support Summit Observing Weeks 39-40 of 2024
  • Loading branch information
edennihy authored Oct 7, 2024
2 parents 65fd9b9 + f1c2042 commit 995ba83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/news/DM-46458.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
In ``scheduler/add_block.py``, convert override config to str.
4 changes: 3 additions & 1 deletion python/lsst/ts/standardscripts/scheduler/add_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def set_metadata(self, metadata: salobj.type_hints.BaseDdsDataType) -> None:
async def run(self) -> None:
await self.checkpoint(f"Loading {self.id} into scheduler")
await self.scheduler_remote.cmd_addBlock.set_start(
id=self.id, override=self.override, timeout=self.timeout_start
id=self.id,
override=yaml.safe_dump(self.override),
timeout=self.timeout_start,
)
await self.checkpoint("BLOCK successfully loaded")

0 comments on commit 995ba83

Please sign in to comment.