Skip to content

Conversation

@ecoussoux-ansys
Copy link
Contributor

This PR provides a fix for #6780 by introducing an error message in case the cutout extension is started on an empty HFSS 3D Layout design.

This case is not supported by the __load_objects_net() method (which is part of the __init__() of the extension) responsible for loading the objects by net from the EDB modeler: Therefore an error is now raised to avoid subsequent crash of the code in this situation.
A corresponding unit test is added.

Close #6780.

@ecoussoux-ansys ecoussoux-ansys self-assigned this Oct 27, 2025
@ecoussoux-ansys ecoussoux-ansys requested a review from a team as a code owner October 27, 2025 17:16
@ecoussoux-ansys ecoussoux-ansys added the bug Something isn't working label Oct 27, 2025
eblanco-ansys
eblanco-ansys previously approved these changes Oct 27, 2025
@eblanco-ansys
Copy link
Contributor

LGTM

@codecov
Copy link

codecov bot commented Oct 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.32%. Comparing base (712cc33) to head (347207d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6822   +/-   ##
=======================================
  Coverage   83.32%   83.32%           
=======================================
  Files         246      246           
  Lines       77442    77445    +3     
=======================================
+ Hits        64527    64531    +4     
+ Misses      12915    12914    -1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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 in cutout extension

5 participants