-
Notifications
You must be signed in to change notification settings - Fork 134
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: Modified return statement for sweep_around_axis and sweep_along_path so methods accept lists without creating error messages in AEDT. #5416
Conversation
…so methods accept lists without creating error messages in AEDT.
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5416 +/- ##
==========================================
+ Coverage 84.63% 84.67% +0.04%
==========================================
Files 143 143
Lines 60073 60083 +10
==========================================
+ Hits 50840 50874 +34
+ Misses 9233 9209 -24
|
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.
Greath @DaveTwyman this will solve the bug when users pass a list as input!
Could you add tests to ensure that everything works fine ?
Added missing unit test for 'sweep_around_axis'. Improved unit tests 'sweep_along_vector' and 'sweep_along_path' to include sweeping a list of sheets in addition to just sweeping a single sheet.
For more information, see https://pre-commit.ci
Assertions were included in existing unit test. Remove as they are testing methods outside of the scope of the sweep unit test. Co-authored-by: gmalinve <103059376+gmalinve@users.noreply.github.com>
For more information, see https://pre-commit.ci
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.
LGTM. Thanks for taking care of this!
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.
LGTM, thanks for this contribution @DaveTwyman
[like] David Twyman reacted to your message:
…________________________________
From: Sébastien Morais ***@***.***>
Sent: Friday, November 22, 2024 1:19:21 PM
To: ansys/pyaedt ***@***.***>
Cc: David Twyman ***@***.***>; State change ***@***.***>
Subject: Re: [ansys/pyaedt] FIX: Modified return statement for sweep_around_axis and sweep_along_path so methods accept lists without creating error messages in AEDT. (PR #5416)
[External Sender]
@SMoraisAnsys approved this pull request.
LGTM, thanks for this contribution @DaveTwyman<https://github.com/DaveTwyman>
—
Reply to this email directly, view it on GitHub<#5416 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVVIYTGTBWQZ3IKXRI2QPYL2B4VNTAVCNFSM6AAAAABRUPOBLCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDINJUGQZTIOJVGY>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
No description provided.