-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
There was a problem hiding this 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'] |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
…tputs to and make that directory structure a bit saner
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