Skip to content

Commit

Permalink
Merge pull request #120 from lsst-ts/tickets/DM-44655
Browse files Browse the repository at this point in the history
Tickets/dm44655: Set EPM:1 and MTPtg to individual state transitions
  • Loading branch information
rbovill authored Jun 4, 2024
2 parents 8206c0e + 2e321b2 commit 0b9294c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
3 changes: 2 additions & 1 deletion doc/version-history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ Version History
v0.24.0
-------
* Added ESS:205 to the EAS state transition configurations.
* Added EPM:1 to the EAS state transition configurations.
* Added ESS:107, ESS:108, Scheduler:3 and ScriptQueue:3 CSCs
* Set EPM:1 and MTPtg to individual state transition.
* Added an ignore parameter for the MTPtg to the enabled_offline script.
* Removed Authorize CSC.

v0.23.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
data:
- [DIMM:1, DISABLED]
- [DIMM:2, DISABLED]
- [EPM:1, DISABLED]
- [ESS:1, DISABLED]
- [ESS:101, DISABLED]
- [ESS:102, DISABLED]
Expand Down Expand Up @@ -62,7 +61,6 @@
data:
- [DIMM:1, ENABLED]
- [DIMM:2, ENABLED]
- [EPM:1, ENABLED]
- [ESS:1, ENABLED]
- [ESS:101, ENABLED]
- [ESS:102, ENABLED]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
- [DSM:1, OFFLINE]
- [DIMM:1, OFFLINE]
- [DIMM:2, OFFLINE]
- [EPM:1, OFFLINE]
- [ESS:1, OFFLINE]
- [ESS:101, OFFLINE]
- [ESS:102, OFFLINE]
Expand Down Expand Up @@ -101,6 +100,18 @@
yaml_string, explicit_start=True, canonical=True
)

# MTCS enabled_offline
yaml_string = yaml.safe_load(
"""
ignore:
- mtptg
"""
)

registry["mtcs_enabled_offline"] = yaml.safe_dump(
yaml_string, explicit_start=True, canonical=True
)

# MainTel enabled_offline
yaml_string = yaml.safe_load(
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"MTAirCompressor:1",
"MTAirCompressor:2",
"MTMount:0",
"MTPtg:0",
"MTDome:0",
"MTDomeTrajectory:0",
"MTAOS:0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
- [MTDome, DISABLED]
- [MTDomeTrajectory, DISABLED]
- [MTM2, DISABLED]
- [MTPtg, DISABLED]
- [MTAOS, DISABLED]
"""
)
Expand Down Expand Up @@ -75,7 +74,6 @@
- [MTDome, ENABLED]
- [MTDomeTrajectory, ENABLED]
- [MTM2, ENABLED]
- [MTPtg, ENABLED]
- [MTAOS, ENABLED]
"""
)
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ts/IntegrationTests/enabled_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class EnabledOffline(BaseScript):
registry["sched_ocps_enabled_offline"],
[],
[],
[],
registry["mtcs_enabled_offline"],
registry["eas_enabled_offline"],
registry["maintel_enabled_offline"],
registry["maintel_camera_enabled_offline"],
Expand Down

0 comments on commit 0b9294c

Please sign in to comment.