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 touchstone deepcopy issue #3892

Merged
merged 2 commits into from
Nov 21, 2023
Merged

Fix touchstone deepcopy issue #3892

merged 2 commits into from
Nov 21, 2023

Conversation

Samuelopez-ansys
Copy link
Member

@Samuelopez-ansys Samuelopez-ansys commented Nov 21, 2023

Close #3883

@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@Samuelopez-ansys
Copy link
Member Author

@ansys-reviewer-bot review

@ansys-reviewer-bot
Copy link
Contributor

Okay, I will trigger a review of your PR.

@github-actions github-actions bot added the bug Something isn't working label Nov 21, 2023
Copy link
Collaborator

@hui-zhou-a hui-zhou-a left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Merging #3892 (31e3fc3) into main (ae2591a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3892   +/-   ##
=======================================
  Coverage   81.30%   81.30%           
=======================================
  Files         182      182           
  Lines       62825    62825           
=======================================
+ Hits        51077    51079    +2     
+ Misses      11748    11746    -2     

Copy link
Collaborator

@Alberto-DM Alberto-DM left a comment

Choose a reason for hiding this comment

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

LGTM

@Samuelopez-ansys
Copy link
Member Author

@Alberto-DM You were right, with a shallow copy it works. The method is just reordering some Network data, and it does not modify the solution_data, so I prefer this solution. Let me know if you see anything strange before merging.

@Samuelopez-ansys Samuelopez-ansys merged commit 611651b into main Nov 21, 2023
12 checks passed
@Samuelopez-ansys Samuelopez-ansys deleted the fix/issue_3883 branch November 21, 2023 14:17
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.

Bug located in touchstone_parser
3 participants