Skip to content
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

Fix/issue 104 - Points snapshot generation #106

Merged
merged 9 commits into from
Aug 10, 2023
Merged

Fix/issue 104 - Points snapshot generation #106

merged 9 commits into from
Aug 10, 2023

Conversation

EDCarman
Copy link
Collaborator

@EDCarman EDCarman commented Aug 8, 2023

Re-ordered the arguments on generate_points() so it is the same as generate_snapshots() and named_selection is optional.
Added unit test for export of points and full model and named_selection.
Added unit test for export of snapshot on named_selection
Modified existing unit test and example for generate_points() to account for new argument ordering

resolves #104

@EDCarman EDCarman added the bug Something isn't working label Aug 8, 2023
@EDCarman EDCarman linked an issue Aug 8, 2023 that may be closed by this pull request
2 tasks
Copy link
Collaborator

@lboucin lboucin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great PR @EDCarman! Thanks for your contribution

tests/evaluate/test_tbrom.py Show resolved Hide resolved
Copy link
Collaborator

@lboucin lboucin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2023

Codecov Report

Merging #106 (27c34dd) into main (8356bca) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
+ Coverage   88.70%   88.75%   +0.04%     
==========================================
  Files          11       11              
  Lines        2310     2320      +10     
==========================================
+ Hits         2049     2059      +10     
  Misses        261      261              

@lboucin lboucin merged commit a0bb396 into main Aug 10, 2023
21 checks passed
@lboucin lboucin deleted the fix/issue_104 branch August 10, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect argument order in pytwin.evaluate.twin_model.generate_points()
3 participants