Skip to content

Commit

Permalink
Fix wep_config to accept useOCPS
Browse files Browse the repository at this point in the history
  • Loading branch information
gmegh committed Oct 25, 2024
1 parent 31e38eb commit 315c783
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/lsst/ts/standardscripts/maintel/base_close_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,9 @@ async def configure(self, config: types.SimpleNamespace) -> None:
self.note = config.note

# Set WEP configuration file
self.wep_config = config.wep_config
self.wep_config.useOCPS = config.use_ocps
self.wep_config = yaml.safe_load(config.wep_config)
self.wep_config['useOCPS'] = config.use_ocps
self.wep_config = yaml.dump(self.wep_config)

# Set used dofs
selected_dofs = config.used_dofs
Expand Down

0 comments on commit 315c783

Please sign in to comment.