-
Notifications
You must be signed in to change notification settings - Fork 170
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
AL-552: Tests and step code needed to change to accommodate for new parameter in ramp_fit
.
#6072
Merged
jdavies-st
merged 8 commits into
spacetelescope:master
from
kmacdonald-stsci:al_522_dqflags
Jul 20, 2021
Merged
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2999f13
Adding DQ flags parameter to due to the change in the function signa…
kmacdonald-stsci 4eb3508
Changing DQ flag parameters based on code review.
kmacdonald-stsci e37a9a4
Updated optional results product to get keywords and meta data.
kmacdonald-stsci 148b4bd
Temporarily point to stcal/main in setup.cfg
jdavies-st 9d04156
Fix bug in create_optional_results_model
jdavies-st e0181d3
Add entry to CHANGES.rst
jdavies-st da9c879
Require stcal>=0.2.2 for ramp_fit dqflag api change
jdavies-st 3395dce
Merge branch 'master' into al_522_dqflags
jdavies-st File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back 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.
I think that calling .update will include the copying of meta.filename from the input to the output model, so line 168 may not even be necessary. Also, do we really want to set the input and output file names to be the same? Shouldn't the opt_model get saved to a file name that at least has a different file type suffix? Or is that handled 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.
That's done later in the Step code:
jwst/jwst/ramp_fitting/ramp_fit_step.py
Lines 240 to 243 in 8a8f148