-
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
Write .hist files to --outdir directory #42
Conversation
acis_thermal_check/state_builder.py
Outdated
def __init__(self, interrupt=False, | ||
backstop_file=None, | ||
nlet_file=None, | ||
outdir = None, |
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.
outdir = None, | |
outdir=None, |
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.
Changed
proc = self._setup_proc_and_logger(args) | ||
|
||
# Record the selected state builder in the class attributes |
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.
Did it not work if you didn't move this after _setup_proc_and_logger
?
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.
I moved it because I wanted to be sure that the output directory was created before Backstop History was instantiated. All regression tests passed.
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.
Ah, good
acis_thermal_check/utils.py
Outdated
@@ -428,6 +428,7 @@ def make_state_builder(name, args): | |||
state_builder = builder_class(interrupt=args.interrupt, | |||
backstop_file=args.backstop_file, | |||
nlet_file=args.nlet_file, | |||
outdir = args.outdir, |
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.
outdir = args.outdir, | |
outdir=args.outdir, |
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.
Changed
Description
Modification to write the assembled history into the model --outdir directory.
This is in addition to the changes included in the #41
and acisops/backstop_history#20 PR's in that as of the creation of this PR the others
have not yet been put into production.
Testing
Fixes #