sot / kadi

Chandra commands and events
https://sot.github.io/kadi
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Add HRC states: 15v on, HRC-I on, HRC-S on #257

Closed taldcroft closed 1 year ago

taldcroft commented 1 year ago

Description

In support of HRC operations and load review checking (in particular https://github.com/acisops/acis_thermal_check/pull/54), this adds three new HRC commanded state variables: hrc_15v, hrc_i and hrc_s. All three have state values of OFF or ON.

I regenerated the list of available commanded states in the documentation and found a few previously-added states that were not reflected in the docs.

A bug in the testing code was also discovered and fixed, namely that the fixture for temporarily setting the effective processing stop date was not clearing the commands cache at the end. This meant that subsequent tests were running with a truncated commands archive.

Finally, this PR cleans up a bunch of flake8 warnings related to line length.

Interface impacts

None.

Testing

Unit tests

Functional tests

jzuhone commented 1 year ago

@taldcroft I can't click the checkbox above, but I tested this with acis_thermal_check and it works.