Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handles Maneuver-only loads, improve regression testing #34

Merged
merged 7 commits into from
Oct 23, 2020

Conversation

Gregg140
Copy link
Contributor

@Gregg140 Gregg140 commented Oct 4, 2020

Description

This is a required update to acis_thermal_check to work with the updates in acisops/backstop_history#13.

The ACIS state builder records the end date of the review load in an attribute.

It also improves the regression testing framework to allow for different NLET files in the tests, as well as allow the user to specify a directory where the test artifacts (e.g. states.dat, temperatures.dat) should be dumped. By default, these are dumped to a temporary directory, but the location can now be specified for later inspection.

Testing

  • Passes unit tests on MacOS, linux, Windows (at least one required)
  • Functional testing

Copy link

@jazan12 jazan12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine

@@ -263,6 +263,10 @@ def __init__(self, interrupt=False, backstop_file=None, nlet_file=None,
self.tstart = rev_bs_cmds[0]['time']
self.tstop = rev_bs_cmds[-1]['time']

# Initialize the end time attribute for event searches within the BSC object
# At the beginning, it will be the time of the last command in the Review Load
self.BSC.end_event_time = rev_bs_cmds[-1]['time']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we'd have this as a setting function (e.g. self.BSC.set_end_event_time(rev_bs_cmds[-1]['time']) instead of just setting the attribute, but we can worry about that later.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or make it a property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants