-
Notifications
You must be signed in to change notification settings - Fork 14
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
Huygens MTF #55
Huygens MTF #55
Conversation
Hi @noahrbn, Thank you for contributing to ZOSPy! As it's quite busy on our side, it may take some time before we can review your contribution. Meanwhile, can you lint, format and test your code as indicated in the contribution guidelines? The output of the pull request checks suggests there are some issues related to our coding conventions that can be easily resolved by following the workflow explained in the contribution guidelines. If you are new to this and don't know how to get started, feel free to drop us a message and we're happy to help you! |
The lint checks on my end are now passing - I will write unit tests (still familiarizing myself with your unit testing conventions) in another pull request. Please feel free to say anything obvious - I am somewhat unfamiliar with this. I see when I run |
Nice to hear you got tox run -e lint -- --fix Note that not all errors can be fixed automatically (errors that can, are marked with As for the unit tests, we'll wait for your 2nd PR. As the |
I decided to include the unit testing as a part of this PR. I have committed it now and the new tests under I have a few questions:
|
Thanks a lot for contributing the unit tests as well, nice work! Anwers to your questions:
I hope this answers your questions, and let me know if something is still unclear! |
Thanks for the clarification - that makes a lot of sense. Please let me know if any more information is needed to approve the PR. |
I see that |
Co-authored-by: Luc van Vught <[email protected]>
@LucVV I have accepted and committed your suggestions. I will test this branch locally myself to make sure the tests still pass, but other than that I think this is good 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.
Very nice work, thanks a lot! There are some minor issues that need to be addressed before we can merge this PR.
…ce data specification.
I have addressed the above comments with the most recent commits. I have linted the code and all unit tests (including new ones) pass on my machine. |
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.
Thanks for addressing my comments! I think this one is ready to be merged if you address these final comments and all tests pass on our systems.
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.
Great to hear! And congratulations indeed @noahrbn! I'll run the test and add reference data for OpticStudio 20.3.2 today! |
The new tests run on my system and the test results of OpticStudio 20.3.2 match those of 23.2.1! I have added the reference data for 20.3.2 I noticed that only |
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.
All looks good! @crnh should we still add reference data for 23.1.0?
Yes, I'll add the reference data today! |
Proposed change
Type of change
Additional information
Related issues
Checklist
If you contributed an analysis:
AttrDict
s for the analysis result data (please use dataclasses instead).If you contributed an example: