-
Notifications
You must be signed in to change notification settings - Fork 37
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
HLA-1111: Updated SVM filenames for WFPC2 #1678
HLA-1111: Updated SVM filenames for WFPC2 #1678
Conversation
Codecov ReportAttention:
... and 127 files with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
I also had to change mentions of wfpc2_wfpc2 in filenames and json files to wfpc2_pc for the code to work properly. |
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.
@s-goldman Can you please check PR#1473 where Warren changed the names to include ...wfpc2_wfpc2... In his case he was eliminating both the use of wf and pc. While I can see there are some unrelated changes his PR, it is good to check this PR to make sure all the necessary changes have been addressed by this PR. For example, the environment variable needed for SVM catalog generation for WFPC2 has not been updated in hapsequencer.py in this PR.
…/github.com/s-goldman/drizzlepac into HLA-1111_updated_hap_svm_filenames_09_28_23
I've reverted the changes related to WFPC2 from #PR1473 and the code passes the jenkins regression tests. |
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.
Sorry (!) I know this is tedious, but I think we need to keep the nomenclature and file structure consistent across all instruments. It looks like the [svm | mvm]_parameters need to have the subdirectories for WFPC2 renamed to wfpc2/pc/*.json. This will also require changing the contents of the */index files.
No worries, I totally agree. Thanks for catching that. I've made the change in the most recent commit. |
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.
The index file contents have to be updated, and then it is ready to go.
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.
Lots of nooks and crannies for this ticket!
Resolves HLA-1111
Closes #1662
This PR changes SVM filenames of WFPC2 products. The current SVM filenames follow the following structure:
hst_<propid>_<obsetid>_<instr>_<detector>_<filter>_<ipppss>_dr[cz].fits
where previously the
<instr>
and<detector>
were both WFPC2. With these changes, the<detector>
is forced to be "pc" if the<instr>
is "WFPC2".