-
Notifications
You must be signed in to change notification settings - Fork 133
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: Add distributed filters topology #5608
base: main
Are you sure you want to change the base?
Conversation
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 #5608 +/- ##
=======================================
Coverage 85.25% 85.25%
=======================================
Files 152 152
Lines 61012 61012
=======================================
Hits 52015 52015
Misses 8997 8997 |
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.
The new method for creating a design is nice and clean! The tests look really thorough with testing for error messages.
Please see review comments and let me know if you have questions or it would help to go through some of it together.
|
||
See Also | ||
-------- | ||
:doc:`filtersolutions` |
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.
I'm not sure what this refers to - this file? Or is there another filtersolutions
somewhere?
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.
Will make help later and check the help page.
tests/system/general/test_45_FilterSolutions/test_lumped_filter/test_lumped_parasitics.py
Outdated
Show resolved
Hide resolved
...eneral/test_45_FilterSolutions/test_lumped_filter/test_lumped_termination_impedance_table.py
Outdated
Show resolved
Hide resolved
tests/system/general/test_45_FilterSolutions/test_raise_error.py
Outdated
Show resolved
Hide resolved
tests/system/general/test_45_FilterSolutions/test_lumped_export/test_export_to_aedt.py
Outdated
Show resolved
Hide resolved
tests/system/general/test_45_FilterSolutions/test_lumped_filter/test_lumped_topology.py
Outdated
Show resolved
Hide resolved
…sys/pyaedt into FEAT__Add_distributed_filters # Conflicts: # src/ansys/aedt/core/filtersolutions.py
For more information, see https://pre-commit.ci
I checked and most of the discussions have been tagged as "resolved" but nothing has been done to follow the associated comments. @ramin4667 could you please have another look at @myoung301 comments ? |
The code test coverage is pasted below: -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform win32, python 3.11.8-final-0 -----------
|
…sys/pyaedt into FEAT__Add_distributed_filters
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 but could you add a function for the text comparison ?
It seems like a lot of test leverage a string of the form "The YOUNAMEIT property is not applicable for the OTHERNAME topology". If you add a function with two arguments to create that string, it would greatly lower the number of LOC and also simplify future refactoring if any.
If you expect the text to be very specific for each test in the near future then ignore this comment. However, from the previous state and your proposed changes, I'd advise to add the function.
@SMoraisAnsys, please look at this snippet and let me know so I can update the rest. def assert_runtime_error(distributed_design, property_name, property_condition, expected_message): def test_distributed_first_shunt(self, distributed_design): |
Description
This feature adds attributes of the topology page of the distributed filters
Issue linked
Please mention the issue number or describe the problem this pull request addresses.
Checklist