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
feat: DAMD-146 (add proposal_id and ob_code to pfsDesign/pfsConfig fi… #118
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.
test_PfsFluxReference.py fails due to this change, and I'm sure there are similar tests in drp_stella that fail too.
python/pfs/datamodel/pfsConfig.py
Outdated
| proposalId : `numpy.chararray` | ||
| Proposal ID of each fiber (e.g, S23A-001QN). | ||
| obCode : `numpy.chararray` | ||
| OB code of each fiber. |
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.
Spell out OB: "Observing block".
|
Please squash related changes, and use |
|
I think that I have squashed everything suggested by |
|
The current state is a bit of a mess, with multiple commits with the same title. |
|
What can I do from now to clean up thing? |
|
If you're at NAOJ, perhaps @SogoMineo is able to help guide you through the git labyrinth? |
|
we are in different branches, but I'll ask him. |
- Add descriptions proposalId and obCode to datamodel.txt
- Operation-related keys `proposalId` and `obCode` are added to pfsDesign and pfsConfig files. - Modify relevant tests to accommodate `proposalId` and `obCode` keys.
8f1d123
to
b73f697
Compare
|
With the great help of @SogoMineo, I restarted editing from the current master branch and force-pushed the commits as shown in the tree. A few places differ from the older commits, but these lines are duplicates from my wrong edit in the previous rebase. You can expand the code and find the identical lines a few lines below the removed ones. |
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.
Very nice. Thank you, @SogoMineo! And thank you @monodera for bearing with me.
|
Can I merge to the master or you will merge, @PaulPrice ? |
|
@SogoMineo told me that I can push the green "merge pull request" button as encouraged in the documentation, so I'll do it. |
|
@PaulPrice When merging a PR, which method should I use from the menu, "Create a merge commit", "Squash and merge", and "Rebase and merge"? Also, could you please take a look at these related branches in |
|
Please use the "Create a merge commit" method. |
|
Yes, it finished with the "Done with Gen3." message. |
…les)
proposalIdandobCodeare added.datamodel.txtandtest_PfsConfig.pyare modified accordingly.